Constructor FastBufferWriter
FastBufferWriter(int, Allocator, int)
Create a FastBufferWriter.
Declaration
public FastBufferWriter(int size, Allocator allocator, int maxSize = -1)
Parameters
Type | Name | Description |
---|---|---|
int | size | Size of the buffer to create |
Allocator | allocator | Allocator to use in creating it |
int | maxSize | Maximum size the buffer can grow to. If less than size, buffer cannot grow. |