Table of Contents

Namespace Shard.Codecs.Bson

Structs

BsonBinaryValue

Owns a BSON binary payload together with its raw subtype byte.

BsonCodecProgram<T>

Pairs direct BSON reader and writer programs with the fixed framing of their public root.

BsonEndec<T>

Executes one complete BSON read and write endpoint for a value type.

BsonReader

Reads one complete BSON input while enforcing Shard's depth and framing rules.

BsonReader.Bookmark

Captures an opaque reader position together with Shard's traversal state.

BsonWriter

Writes one BSON root document into an owned output buffer.

Enums

BsonRootKind

States whether a BSON program owns a document root or requires framing around a value root.

BsonType

Lists the BSON tags that Shard's traversal can recognize.

Delegates

BsonRead<T>

Reads one BSON value at the reader's current position.

BsonWrite<T>

Writes one BSON value at the writer's current position.