C# Class Helios.Buffers.EmptyByteBuf

Represents an empty byte buffer
Inheritance: Helios.Buffers.AbstractByteBuf
Mostra file Open project: helios-io/helios

Public Methods

Method Description
AdjustCapacity ( int newCapacity ) : IByteBuf
Compact ( ) : IByteBuf
CompactIfNecessary ( ) : IByteBuf
Copy ( int index, int length ) : IByteBuf
EmptyByteBuf ( IByteBufAllocator allocator ) : System
GetBytes ( int index, IByteBuf destination, int dstIndex, int length ) : IByteBuf
GetBytes ( int index, byte destination, int dstIndex, int length ) : IByteBuf
GetIoBuffer ( int index, int length ) : ArraySegment
GetIoBuffers ( int index, int length ) : ArraySegment[]
Release ( ) : bool
Release ( int decrement ) : bool
Retain ( ) : IReferenceCounted
Retain ( int increment ) : IReferenceCounted
SetBytes ( int index, IByteBuf src, int srcIndex, int length ) : IByteBuf
SetBytes ( int index, byte src, int srcIndex, int length ) : IByteBuf
Touch ( ) : IReferenceCounted
Touch ( object hint ) : IReferenceCounted
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

EmptyByteBuf() public method

public EmptyByteBuf ( IByteBufAllocator allocator ) : System
allocator IByteBufAllocator
return System

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

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[]

Release() public method

public Release ( ) : bool
return bool

Release() public method

public Release ( int decrement ) : bool
decrement int
return bool

Retain() public method

public Retain ( ) : IReferenceCounted
return IReferenceCounted

Retain() public method

public Retain ( int increment ) : IReferenceCounted
increment int
return IReferenceCounted

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

Touch() public method

public Touch ( ) : IReferenceCounted
return IReferenceCounted

Touch() public method

public Touch ( object hint ) : IReferenceCounted
hint object
return IReferenceCounted

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