ResizableBuffer Type
Growable in-memory byte buffer used by the built-in codecs.
Record fields
| Record Field |
Description
|
Full Usage:
InternalCount
Field type: int
Modifiers: mutable |
|
Full Usage:
InternalData
Field type: byte[]
Modifiers: mutable |
|
Full Usage:
ReturnToPool
Field type: bool
Modifiers: mutable |
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Release
|
Benchmarks and serializers should always return pooled storage after materializing the final string so hot-path allocation stays low. |
Static members
| Static member |
Description
|
Full Usage:
ResizableBuffer.Create(initialCapacity)
Parameters:
int
Returns: ResizableBuffer
|
Creates a new buffer with the requested initial capacity.
|
CodecMapper