Interface IDataObjectByteView
interface IDataObjectByteView
Extends IStandard
Strongly typed view over a serialized data object byte buffer.
Wraps the wire-format bytes produced by the data object serialization
infrastructure. Consumers obtain instances either from
IDataObjectBuffer::byteArray() (via NativePointer) or from the
MakeDataObjectByteView factory functions.
Methods
data()
NativePointer data()
Returns a read-only view of the underlying serialized byte data.
The returned NativePointer wraps an ArrayView<uint8_t const> const*.
The caller uses FromNativePointer<ArrayView<uint8_t const> const*>(np)
to obtain the view. The view is valid for the lifetime of this
IDataObjectByteView instance.
Returns
NativePointer
NativePointer to the internal ArrayView
size()
i32 size()
Returns the size of the serialized buffer in bytes.
Returns
i32
number of bytes in the buffer

