Creates a reference to an existing segment of managed memory.

C# | Visual Basic | Managed C++ |
public ConsumableBlock ( ArraySegment<byte> buffer )
Public Sub New ( _ buffer As ArraySegment(Of Byte) _ )
public: ConsumableBlock ( ArraySegment<unsigned char> buffer )

- buffer (ArraySegment<(Of Byte>))
- The array segment representing the segment of memory where data can be appended.