C# 클래스 Helios.Buffers.UnpooledDirectByteBuf

An unpooled non-blocking IO byte buffer implementation.
상속: AbstractReferenceCountedByteBuf
파일 보기 프로젝트 열기: helios-io/helios

공개 메소드들

메소드 설명
AdjustCapacity ( int newCapacity ) : IByteBuf
Compact ( ) : IByteBuf
CompactIfNecessary ( ) : IByteBuf
Copy ( int index, int length ) : IByteBuf
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[]
SetBytes ( int index, IByteBuf src, int srcIndex, int length ) : IByteBuf
SetBytes ( int index, byte src, int srcIndex, int length ) : IByteBuf
UnpooledDirectByteBuf ( IByteBufAllocator alloc, byte initialArray, int maxCapacity ) : System
UnpooledDirectByteBuf ( IByteBufAllocator alloc, byte initialArray, int readerIndex, int writerIndex, int maxCapacity ) : System
UnpooledDirectByteBuf ( IByteBufAllocator alloc, int initialCapacity, int maxCapacity ) : System
Unwrap ( ) : IByteBuf

보호된 메소드들

메소드 설명
Deallocate ( ) : void
SetBuffer ( byte initialBuffer ) : void
_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

메소드 상세

AdjustCapacity() 공개 메소드

public AdjustCapacity ( int newCapacity ) : IByteBuf
newCapacity int
리턴 IByteBuf

Compact() 공개 메소드

public Compact ( ) : IByteBuf
리턴 IByteBuf

CompactIfNecessary() 공개 메소드

public CompactIfNecessary ( ) : IByteBuf
리턴 IByteBuf

Copy() 공개 메소드

public Copy ( int index, int length ) : IByteBuf
index int
length int
리턴 IByteBuf

Deallocate() 보호된 메소드

protected Deallocate ( ) : void
리턴 void

GetBytes() 공개 메소드

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

GetBytes() 공개 메소드

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

GetIoBuffer() 공개 메소드

public GetIoBuffer ( int index, int length ) : ArraySegment
index int
length int
리턴 ArraySegment

GetIoBuffers() 공개 메소드

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

SetBuffer() 보호된 메소드

protected SetBuffer ( byte initialBuffer ) : void
initialBuffer byte
리턴 void

SetBytes() 공개 메소드

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

SetBytes() 공개 메소드

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

UnpooledDirectByteBuf() 공개 메소드

public UnpooledDirectByteBuf ( IByteBufAllocator alloc, byte initialArray, int maxCapacity ) : System
alloc IByteBufAllocator
initialArray byte
maxCapacity int
리턴 System

UnpooledDirectByteBuf() 공개 메소드

public UnpooledDirectByteBuf ( IByteBufAllocator alloc, byte initialArray, int readerIndex, int writerIndex, int maxCapacity ) : System
alloc IByteBufAllocator
initialArray byte
readerIndex int
writerIndex int
maxCapacity int
리턴 System

UnpooledDirectByteBuf() 공개 메소드

public UnpooledDirectByteBuf ( IByteBufAllocator alloc, int initialCapacity, int maxCapacity ) : System
alloc IByteBufAllocator
initialCapacity int
maxCapacity int
리턴 System

Unwrap() 공개 메소드

public Unwrap ( ) : IByteBuf
리턴 IByteBuf

_GetByte() 보호된 메소드

protected _GetByte ( int index ) : byte
index int
리턴 byte

_GetInt() 보호된 메소드

protected _GetInt ( int index ) : int
index int
리턴 int

_GetLong() 보호된 메소드

protected _GetLong ( int index ) : long
index int
리턴 long

_GetShort() 보호된 메소드

protected _GetShort ( int index ) : short
index int
리턴 short

_SetByte() 보호된 메소드

protected _SetByte ( int index, int value ) : IByteBuf
index int
value int
리턴 IByteBuf

_SetInt() 보호된 메소드

protected _SetInt ( int index, int value ) : IByteBuf
index int
value int
리턴 IByteBuf

_SetLong() 보호된 메소드

protected _SetLong ( int index, long value ) : IByteBuf
index int
value long
리턴 IByteBuf

_SetShort() 보호된 메소드

protected _SetShort ( int index, int value ) : IByteBuf
index int
value int
리턴 IByteBuf