Hunny Software Library Reference

ByteBuffer Class

Byte buffer structure.

For a list of all members of this type, see ByteBuffer Members.

System.Object
   ByteBuffer

[Visual Basic]
Public Class ByteBuffer
[C#]
public class ByteBuffer

Remarks

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;
            

Requirements

Namespace: Hunny.Mime

Assembly: Hunny.Mime (in Hunny.Mime.dll)

See Also

ByteBuffer Members | Hunny.Mime Namespace