Byte buffer structure.
For a list of all members of this type, see ByteBuffer Members.
System.Object
ByteBuffer
The ByteBuffer class is used as a byte buffer structure for
various encoders and decoders.
The following code example shows how you can prepare input and output
buffers, where the input data is in the byte array myData:
ByteBuffer inputBuffer = new ByteBuffer();
inputBuffer.Bytes = myData;
inputBuffer.Pos = 0;
inputBuffer.EndPos = myData.Length;
outputBuffer = new ByteBuffer();
outputBuffer.Bytes = new byte[2048];
outputBuffer.Pos = 0;
outputBuffer.EndPos = outputBuffer.Bytes.Length;
Namespace: Hunny.Mime
Assembly: Hunny.Mime (in Hunny.Mime.dll)
ByteBuffer Members | Hunny.Mime Namespace