Required Instance Propertyswift-mongodb 0.27.0BSONABI
bytes
The slice of bytes constituting the opaque content of this view. The conforming type defines what portion of the original buffer this slice includes, and it may not cover the entirety of the argument originally passed to init(slicing:)
.
var bytes: ArraySlice<UInt8> { get }
Other requirements
Type members
associatedtype Frame
The type specifying how parsers should interpret the conforming type’s inline frame header when it appears in raw input data.
init(slicing: ArraySlice<UInt8>
) throws Receives a collection of bytes encompassing the bytes backing this value, after stripping the length header and frame suffix, but keeping any portions of the frame prefix that are not part of the length header.