Click or drag to resize

BufferPoolReturnBuffer Method

Returns a buffer to the pool.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntax
public static void ReturnBuffer(
	byte[] buffer
)
View Source

Parameters

buffer  Byte
A reference to the buffer being returned.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer reference cannot be null.
ArgumentExceptionLength of buffer does not match the pool's buffer length property.
See Also