Instance Methodswift-mongodb 0.27.0BSONABI
encode(timestamp:)
BSON.FieldEncoder.swift:72mutating func encode(timestamp: BSON.Timestamp)
Other members in extension
Type members
Instance members
let key: Key
var output: BSON.Output
subscript<Encoder>(as: Encoder.Type
) -> Encoder Writes the stored type code and
key
to the output buffer, temporarily rebinds the output’s storage buffer to an encoder of the specified type, and brackets any newly-written bytes with the appropriate headers or trailers.func encode(binary: BSON.BinaryView<some RandomAccessCollection<UInt8>>
) func encode(bool: Bool
) func encode(decimal128: BSON.Decimal128
) func encode(document: BSON.Document
) func encode(double: Double
) func encode(id: BSON.Identifier
) func encode(int32: Int32
) func encode(int64: Int64
) func encode(javascript: BSON.UTF8View<some BidirectionalCollection<UInt8>>
) func encode(list: BSON.List
) func encode(max: BSON.Max
) func encode(millisecond: UnixMillisecond
) func encode(min: BSON.Min
) func encode(null: BSON.Null
) func encode(regex: BSON.Regex
) func encode(string: BSON.UTF8View<some BidirectionalCollection<UInt8>>
)