C# Class Helios.Buffers.SlicedByteBuffer

Inheritance: AbstractDerivedByteBuffer
Exibir arquivo Open project: helios-io/helios

Public Methods

Method Description
AdjustCapacity ( int newCapacity ) : IByteBuf
Compact ( ) : IByteBuf
CompactIfNecessary ( ) : IByteBuf
Copy ( int index, int length ) : IByteBuf
Duplicate ( ) : IByteBuf
GetBytes ( int index, IByteBuf dst, int dstIndex, int length ) : IByteBuf
GetBytes ( int index, byte dst, int dstIndex, int length ) : IByteBuf
GetIoBuffer ( int index, int length ) : ArraySegment
GetIoBuffers ( int index, int length ) : ArraySegment[]
SetBytes ( int index, IByteBuf src, int srcIndex, int length ) : IByteBuf
SetBytes ( int index, byte src, int srcIndex, int length ) : IByteBuf
Slice ( int index, int length ) : IByteBuf
SlicedByteBuffer ( IByteBuf buffer, int index, int length ) : System
Unwrap ( ) : IByteBuf

Protected Methods

Method Description
_GetByte ( int index ) : byte
_GetInt ( int index ) : int
_GetLong ( int index ) : long
_GetShort ( int index ) : short
_SetByte ( int index, int value ) : IByteBuf
_SetInt ( int index, int value ) : IByteBuf
_SetLong ( int index, long value ) : IByteBuf
_SetShort ( int index, int value ) : IByteBuf

Method Details

AdjustCapacity() public method

public AdjustCapacity ( int newCapacity ) : IByteBuf
newCapacity int
return IByteBuf

Compact() public method

public Compact ( ) : IByteBuf
return IByteBuf

CompactIfNecessary() public method

public CompactIfNecessary ( ) : IByteBuf
return IByteBuf

Copy() public method

public Copy ( int index, int length ) : IByteBuf
index int
length int
return IByteBuf

Duplicate() public method

public Duplicate ( ) : IByteBuf
return IByteBuf

GetBytes() public method

public GetBytes ( int index, IByteBuf dst, int dstIndex, int length ) : IByteBuf
index int
dst IByteBuf
dstIndex int
length int
return IByteBuf

GetBytes() public method

public GetBytes ( int index, byte dst, int dstIndex, int length ) : IByteBuf
index int
dst byte
dstIndex int
length int
return IByteBuf

GetIoBuffer() public method

public GetIoBuffer ( int index, int length ) : ArraySegment
index int
length int
return ArraySegment

GetIoBuffers() public method

public GetIoBuffers ( int index, int length ) : ArraySegment[]
index int
length int
return ArraySegment[]

SetBytes() public method

public SetBytes ( int index, IByteBuf src, int srcIndex, int length ) : IByteBuf
index int
src IByteBuf
srcIndex int
length int
return IByteBuf

SetBytes() public method

public SetBytes ( int index, byte src, int srcIndex, int length ) : IByteBuf
index int
src byte
srcIndex int
length int
return IByteBuf

Slice() public method

public Slice ( int index, int length ) : IByteBuf
index int
length int
return IByteBuf

SlicedByteBuffer() public method

public SlicedByteBuffer ( IByteBuf buffer, int index, int length ) : System
buffer IByteBuf
index int
length int
return System

Unwrap() public method

public Unwrap ( ) : IByteBuf
return IByteBuf

_GetByte() protected method

protected _GetByte ( int index ) : byte
index int
return byte

_GetInt() protected method

protected _GetInt ( int index ) : int
index int
return int

_GetLong() protected method

protected _GetLong ( int index ) : long
index int
return long

_GetShort() protected method

protected _GetShort ( int index ) : short
index int
return short

_SetByte() protected method

protected _SetByte ( int index, int value ) : IByteBuf
index int
value int
return IByteBuf

_SetInt() protected method

protected _SetInt ( int index, int value ) : IByteBuf
index int
value int
return IByteBuf

_SetLong() protected method

protected _SetLong ( int index, long value ) : IByteBuf
index int
value long
return IByteBuf

_SetShort() protected method

protected _SetShort ( int index, int value ) : IByteBuf
index int
value int
return IByteBuf