Int
struct Int : FixedWidthInteger, SignedInteger
An extension of Int
to represent the BSON Int32 or Int64 type.
On 64-bit systems, Int
corresponds to a BSON Int64. On 32-bit systems, it corresponds to a BSON Int32.
-
Declaration
Swift
public var bsonType: BSONType { get }
-
Declaration
Swift
public func encode(to storage: DocumentStorage, forKey key: String) throws
-
Declaration
Swift
public func bsonEquals(_ other: BSONValue?) -> Bool
-
Declaration
Swift
public static func from(iterator iter: DocumentIterator) throws -> Int