4#include <system/object.h>
9template <
typename>
class Memory;
10template <
typename>
class Span;
Represents a sink for data, into which a consumer can write data. Objects of this class should only b...
Definition: i_buffer_writer.h:24
virtual System::Span< T > GetSpan(int32_t sizeHint=0)=0
Returns a Span that can be written to, and is guaranteed to have at least sizeHint elements.
virtual void Advance(int32_t count)=0
Notifies the IBufferWriter implementation that count elements were written to the output.
virtual System::Memory< T > GetMemory(int32_t sizeHint=0)=0
Returns a Memory that can be written to, and is guaranteed to have at least sizeHint elements.
Represents a mutable memory segment backed by an array.
Definition: memory.h:159
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Represents a contiguous region of arbitrary memory similar to C++20's std::span.
Definition: span.h:375
Definition: db_command.h:9