Click or drag to resize

BufferPoolTakeBuffer Method

Gets a buffer of at least the specified size from the pool.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static byte[] TakeBuffer(
	int bufferSize
)
View Source

Parameters

bufferSize  Int32
The size, in bytes, of the requested buffer.

Return Value

Byte
A byte array that is the requested size of the buffer.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionbufferSize cannot be less than zero.
See Also