System::Buffers::IBufferWriter class
Contents
[
Hide
]IBufferWriter class
Represents a sink for data, into which a consumer can write data. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename T>class IBufferWriter : public virtual System::Object
| Parameter | Description |
|---|---|
| T | The type of the element held by the writer. |
Methods
| Method | Description |
|---|---|
| virtual Advance(int32_t) | Notifies the IBufferWriter implementation that count elements were written to the output. |
| virtual GetMemory(int32_t) | Returns a Memory that can be written to, and is guaranteed to have at least sizeHint elements. |
| virtual GetSpan(int32_t) | Returns a Span that can be written to, and is guaranteed to have at least sizeHint elements. |
See Also
- Class Object
- Namespace System::Buffers
- Library Aspose.TeX for C++