Instance Methodswift-bson 0.3.1BSONEncoding->Swift
encode(to:)
Encodes this integer as a value of type int64
. It will always use the 64-bit representation, even if it would fit in a int32
. To use a variable-length encoding, encode an Int
instead.
func encode(to field: inout BSON.FieldEncoder)