Method NewBuffer
NewBuffer(Int32)
Expert: allocate a new buffer. Subclasses can allocate differently.
Declaration
protected virtual byte[] NewBuffer(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size | size of allocated buffer. |
Returns
Type | Description |
---|---|
System.Byte[] | allocated buffer. |