C# Class BTDB.Buffer.ByteBuffer

Show file Open project: Bobris/BTDB Class Usage Examples

Public Methods

Method Description
MakeAsyncSafe ( ) : void
NewAsync ( byte buffer ) : ByteBuffer
NewAsync ( byte buffer, int offset, int length ) : ByteBuffer
NewEmpty ( ) : ByteBuffer
NewSync ( byte buffer ) : ByteBuffer
NewSync ( byte buffer, int offset, int length ) : ByteBuffer
ResizingAppend ( ByteBuffer append ) : ByteBuffer
SubBuffer ( int offset ) : ByteBuffer
SubBuffer ( int offset, int length ) : ByteBuffer
ToArraySegment ( ) : ArraySegment
ToAsyncSafe ( ) : ByteBuffer
ToByteArray ( ) : byte[]
this ( int index ) : byte

Private Methods

Method Description
ByteBuffer ( byte buffer, uint offset, int length ) : System

Method Details

MakeAsyncSafe() public method

public MakeAsyncSafe ( ) : void
return void

NewAsync() public static method

public static NewAsync ( byte buffer ) : ByteBuffer
buffer byte
return ByteBuffer

NewAsync() public static method

public static NewAsync ( byte buffer, int offset, int length ) : ByteBuffer
buffer byte
offset int
length int
return ByteBuffer

NewEmpty() public static method

public static NewEmpty ( ) : ByteBuffer
return ByteBuffer

NewSync() public static method

public static NewSync ( byte buffer ) : ByteBuffer
buffer byte
return ByteBuffer

NewSync() public static method

public static NewSync ( byte buffer, int offset, int length ) : ByteBuffer
buffer byte
offset int
length int
return ByteBuffer

ResizingAppend() public method

public ResizingAppend ( ByteBuffer append ) : ByteBuffer
append ByteBuffer
return ByteBuffer

SubBuffer() public method

public SubBuffer ( int offset ) : ByteBuffer
offset int
return ByteBuffer

SubBuffer() public method

public SubBuffer ( int offset, int length ) : ByteBuffer
offset int
length int
return ByteBuffer

ToArraySegment() public method

public ToArraySegment ( ) : ArraySegment
return ArraySegment

ToAsyncSafe() public method

public ToAsyncSafe ( ) : ByteBuffer
return ByteBuffer

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

this() public method

public this ( int index ) : byte
index int
return byte