Instance Propertyswift-mongodb 0.27.0MongoWire->Mongo
description
Mongo.WireHeader.swift:102var description: String { get }
Other members in extension
Type members
init(count: Int, id: WireMessageIdentifier, request: WireMessageIdentifier, type: WireMessageType
) init(size: Int32, id: Int32, request: Int32, type: Int32
) throws static let size: Int
The size, 16 bytes, of a MongoDB message header.
static func parse(from: inout BSON.Input
) throws -> Mongo.WireHeader
Instance members
let count: Int
The number of bytes in the message body, not including the header.
let id: WireMessageIdentifier
The identifier for this message.
let request: WireMessageIdentifier
The request this message is a response to.
var size: Int32
let type: WireMessageType
The type of this message.
func parse(from: inout BSON.Input
) throws -> Mongo.WireMessage