IInternalBuffer

Description

interface Tinman.Core.System.IInternalBuffer<T out>

Extended by

MemoryDataStream sealed
StringBuilder sealed

Base interface for classes that provide access to some internal buffer.

Public / Attributes

Internal​Buffer


public attribute InternalBuffer → (get)

value : T

[not-null]
The internal buffer.

Returns the internal data buffer of this object.

In most cases, client code will never use the internal buffer of an object. However, under some circumstances it can be advantageous to access the internal buffer directly (e.g. in order to avoid copy operations, reduce amount of produced garbage). Messing with the internal buffer of an object will result in undefined behaviour. So anyone using the internal buffer must know exactly what he or she is doing.