TryGetSegment(int, ArraySegment<byte>)
public bool TryGetSegment(int size, out ArraySegment<byte> value) Try to get a segment with a buffer of the specified size from this block. Fail if there is not enough space available
Parameters
sizeint- The size.
valueArraySegment<byte>- The segment.
Returns
true if the segment was retrieved; otherwise false.