C# Class Helios.Buffers.DuplicateByteBuf

Derived buffer that forwards requests to the original underlying buffer
Inheritance: Helios.Buffers.AbstractByteBuf
ファイルを表示 Open project: helios-io/helios

Public Methods

Method Description
AdjustCapacity ( int newCapacity ) : IByteBuf
Compact ( ) : IByteBuf
CompactIfNecessary ( ) : IByteBuf
Copy ( int index, int length ) : IByteBuf
DuplicateByteBuf ( IByteBuf source ) : System
GetByte ( int index ) : byte
GetBytes ( int index, IByteBuf destination ) : IByteBuf
GetBytes ( int index, IByteBuf destination, int dstIndex, int length ) : IByteBuf
GetBytes ( int index, byte destination, int dstIndex, int length ) : IByteBuf
GetInt ( int index ) : int
GetIoBuffers ( int index, int length ) : ArraySegment[]
GetLong ( int index ) : long
GetShort ( int index ) : short
SetByte ( int index, int value ) : IByteBuf
SetBytes ( int index, IByteBuf src, int srcIndex, int length ) : IByteBuf
SetBytes ( int index, byte src, int srcIndex, int length ) : IByteBuf
SetInt ( int index, int value ) : IByteBuf
SetLong ( int index, long value ) : IByteBuf
SetShort ( int index, int value ) : IByteBuf
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

DuplicateByteBuf() public method

public DuplicateByteBuf ( IByteBuf source ) : System
source IByteBuf
return System

GetByte() public method

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

GetBytes() public method

public GetBytes ( int index, IByteBuf destination ) : IByteBuf
index int
destination IByteBuf
return IByteBuf

GetBytes() public method

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

GetBytes() public method

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

GetInt() public method

public GetInt ( int index ) : int
index int
return int

GetIoBuffers() public method

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

GetLong() public method

public GetLong ( int index ) : long
index int
return long

GetShort() public method

public GetShort ( int index ) : short
index int
return short

SetByte() public method

public SetByte ( int index, int value ) : IByteBuf
index int
value int
return IByteBuf

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

SetInt() public method

public SetInt ( int index, int value ) : IByteBuf
index int
value int
return IByteBuf

SetLong() public method

public SetLong ( int index, long value ) : IByteBuf
index int
value long
return IByteBuf

SetShort() public method

public SetShort ( int index, int value ) : IByteBuf
index int
value int
return IByteBuf

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