Method AllocSlice
AllocSlice(Byte[], Int32)
Creates a new byte slice with the given starting size and returns the slices offset in the pool.
Declaration
public int AllocSlice(byte[] slice, int upto)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | slice | |
System.Int32 | upto |
Returns
Type | Description |
---|---|
System.Int32 |