|
Terraria v1.4.4.9
Terraria source code documentation
|
Static Public Member Functions | |
| static byte[] | RequestBuffer (int size) |
| static byte[] | RequestBuffer (byte[] data, int offset, int size) |
| static void | ReturnBuffer (byte[] buffer) |
| static void | DisplayBufferSizes () |
| static void | PrintBufferSizes () |
Static Private Attributes | |
| const int | SMALL_BUFFER_SIZE = 256 |
| const int | MEDIUM_BUFFER_SIZE = 1024 |
| const int | LARGE_BUFFER_SIZE = 16384 |
| static object | bufferLock = new object() |
| static Queue< byte[]> | _smallBufferQueue = new Queue<byte[]>() |
| static Queue< byte[]> | _mediumBufferQueue = new Queue<byte[]>() |
| static Queue< byte[]> | _largeBufferQueue = new Queue<byte[]>() |
| static int | _smallBufferCount |
| static int | _mediumBufferCount |
| static int | _largeBufferCount |
| static int | _customBufferCount |
Definition at line 6 of file LegacyNetBufferPool.cs.