Base interface for classes that provide access to some internal buffer.
interface
|
IInternalBuffer
|
with
|
<out
T>
|
||
base of
|
MemoryDataStream
|
||||
StringBuilder
|
Returns the internal data buffer of this object.
property
|
InternalBuffer
{
get
}
|
||
type
|
T
|
||
value
|
|
The internal buffer. |
Remarks:
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.