|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| ArrayBuffer (int initialSize, bool usePool=false) | |
| void | Dispose () |
| Memory< byte > | AvailableMemorySliced (int length) |
| void | Discard (int byteCount) |
| void | Commit (int byteCount) |
| void | EnsureAvailableSpace (int byteCount) |
| void | Grow () |
| ArrayBuffer (int initialSize, bool usePool=false) | |
| void | Dispose () |
| void | Discard (int byteCount) |
| void | Commit (int byteCount) |
| void | EnsureAvailableSpace (int byteCount) |
Properties | |
| int | ActiveLength [get] |
| Span< byte > | ActiveSpan [get] |
| Memory< byte > | ActiveMemory [get] |
| int | AvailableLength [get] |
| Span< byte > | AvailableSpan [get] |
| Memory< byte > | AvailableMemory [get] |
| int | Capacity [get] |
| ReadOnlySpan< byte > | ActiveReadOnlySpan [get] |
Private Attributes | |
| readonly bool | _usePool |
| byte[] | _bytes |
| int | _activeStart |
| int | _availableStart |
Definition at line 7 of file ArrayBuffer.cs.