Method Create
Create(Allocator)
Declaration
public static Buffer Create(Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
Allocator | allocator |
Returns
Type | Description |
---|---|
Buffer |
Create(int, Allocator)
Declaration
public static Buffer Create(int capacity, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
int | capacity | |
Allocator | allocator |
Returns
Type | Description |
---|---|
Buffer |
Create(byte[], Allocator)
Declaration
public static Buffer Create(byte[] data, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
byte[] | data | |
Allocator | allocator |
Returns
Type | Description |
---|---|
Buffer |