The input should have yielded a terminator byte that never appeared.
case byte(UInt8)
s7BSONABI4BSONO10InputErrorV11ExpectationO4byteyAGs5UInt8VcAGmF
Y9TK
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen enum Expectation
@frozen enum BSON
The namespace for all BSON types.
@frozen struct InputError
A parser did not receive the expected amount of input.
@frozen struct UInt8
An 8-bit unsigned integer value type.
case end
The input should have yielded end-of-input.
case bytes(Int)
The input should have yielded a particular number of bytes.