BufferTraversable

A framed type that BSON parsers can traverse in constant time.

BSON.BufferTraversable.swift:12
protocol BufferTraversable
Browse conforming types

BSON parsers typically parse conforming types by reading a length header from raw input data, and using it to slice the input, ideally without copying backing storage. The interpretation of the length header is specified by the Frame type requirement, and the exact slicing behavior is determined by the implementation’s init(slicing:) witness.