C# Class Helios.Buffers.SwappedByteBuffer

Inheritance: IByteBuf
显示文件 Open project: helios-io/helios Class Usage Examples

Public Methods

Method Description
AdjustCapacity ( int newCapacity ) : IByteBuf
Clear ( ) : IByteBuf
Compact ( ) : IByteBuf
CompactIfNecessary ( ) : IByteBuf
Copy ( ) : IByteBuf
Copy ( int index, int length ) : IByteBuf
DiscardReadBytes ( ) : IByteBuf
DiscardSomeReadBytes ( ) : IByteBuf
Duplicate ( ) : IByteBuf
EnsureWritable ( int minWritableBytes ) : IByteBuf
Equals ( object obj ) : bool
GetBoolean ( int index ) : bool
GetByte ( int index ) : byte
GetBytes ( int index, IByteBuf destination ) : IByteBuf
GetBytes ( int index, IByteBuf destination, int length ) : IByteBuf
GetBytes ( int index, IByteBuf destination, int dstIndex, int length ) : IByteBuf
GetBytes ( int index, byte destination ) : IByteBuf
GetBytes ( int index, byte destination, int dstIndex, int length ) : IByteBuf
GetChar ( int index ) : char
GetDouble ( int index ) : double
GetHashCode ( ) : int
GetInt ( int index ) : int
GetIoBuffer ( ) : ArraySegment
GetIoBuffer ( int index, int length ) : ArraySegment
GetIoBuffers ( ) : ArraySegment[]
GetIoBuffers ( int index, int length ) : ArraySegment[]
GetLong ( int index ) : long
GetShort ( int index ) : short
GetUnsignedInt ( int index ) : uint
GetUnsignedShort ( int index ) : ushort
IsReadable ( ) : bool
IsReadable ( int size ) : bool
IsWritable ( ) : bool
IsWritable ( int size ) : bool
MarkReaderIndex ( ) : IByteBuf
MarkWriterIndex ( ) : IByteBuf
ReadBoolean ( ) : bool
ReadByte ( ) : byte
ReadBytes ( IByteBuf destination ) : IByteBuf
ReadBytes ( IByteBuf destination, int length ) : IByteBuf
ReadBytes ( IByteBuf destination, int dstIndex, int length ) : IByteBuf
ReadBytes ( byte destination ) : IByteBuf
ReadBytes ( byte destination, int dstIndex, int length ) : IByteBuf
ReadBytes ( int length ) : IByteBuf
ReadChar ( ) : char
ReadDouble ( ) : double
ReadInt ( ) : int
ReadLong ( ) : long
ReadShort ( ) : short
ReadSlice ( int length ) : IByteBuf
ReadUnsignedInt ( ) : uint
ReadUnsignedShort ( ) : ushort
Release ( ) : bool
Release ( int decrement ) : bool
ResetReaderIndex ( ) : IByteBuf
ResetWriterIndex ( ) : IByteBuf
Retain ( ) : IReferenceCounted
Retain ( int increment ) : IReferenceCounted
SetBoolean ( int index, bool value ) : IByteBuf
SetByte ( int index, int value ) : IByteBuf
SetBytes ( int index, IByteBuf src ) : IByteBuf
SetBytes ( int index, IByteBuf src, int length ) : IByteBuf
SetBytes ( int index, IByteBuf src, int srcIndex, int length ) : IByteBuf
SetBytes ( int index, byte src ) : IByteBuf
SetBytes ( int index, byte src, int srcIndex, int length ) : IByteBuf
SetChar ( int index, char value ) : IByteBuf
SetDouble ( int index, double value ) : IByteBuf
SetIndex ( int readerIndex, int writerIndex ) : IByteBuf
SetInt ( int index, int value ) : IByteBuf
SetLong ( int index, long value ) : IByteBuf
SetReaderIndex ( int readerIndex ) : IByteBuf
SetShort ( int index, int value ) : IByteBuf
SetUnsignedInt ( int index, uint value ) : IByteBuf
SetUnsignedShort ( int index, int value ) : IByteBuf
SetUnsignedShort ( int index, ushort value ) : IByteBuf
SetWriterIndex ( int writerIndex ) : IByteBuf
SkipBytes ( int length ) : IByteBuf
Slice ( ) : IByteBuf
Slice ( int index, int length ) : IByteBuf
SwappedByteBuffer ( IByteBuf buf ) : System
ToArray ( ) : byte[]
ToString ( ) : string
ToString ( Encoding encoding ) : string
Touch ( ) : IReferenceCounted
Touch ( object hint ) : IReferenceCounted
Unwrap ( ) : IByteBuf
WithOrder ( ByteOrder endianness ) : IByteBuf
WriteBoolean ( bool value ) : IByteBuf
WriteByte ( int value ) : IByteBuf
WriteBytes ( IByteBuf src ) : IByteBuf
WriteBytes ( IByteBuf src, int length ) : IByteBuf
WriteBytes ( IByteBuf src, int srcIndex, int length ) : IByteBuf
WriteBytes ( byte src ) : IByteBuf
WriteBytes ( byte src, int srcIndex, int length ) : IByteBuf
WriteChar ( char value ) : IByteBuf
WriteDouble ( double value ) : IByteBuf
WriteInt ( int value ) : IByteBuf
WriteLong ( long value ) : IByteBuf
WriteShort ( int value ) : IByteBuf
WriteUnsignedInt ( uint value ) : IByteBuf
WriteUnsignedShort ( int value ) : IByteBuf
WriteUnsignedShort ( ushort value ) : IByteBuf
WriteZero ( int length ) : IByteBuf

Method Details

AdjustCapacity() public method

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

Clear() public method

public Clear ( ) : IByteBuf
return IByteBuf

Compact() public method

public Compact ( ) : IByteBuf
return IByteBuf

CompactIfNecessary() public method

public CompactIfNecessary ( ) : IByteBuf
return IByteBuf

Copy() public method

public Copy ( ) : IByteBuf
return IByteBuf

Copy() public method

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

DiscardReadBytes() public method

public DiscardReadBytes ( ) : IByteBuf
return IByteBuf

DiscardSomeReadBytes() public method

public DiscardSomeReadBytes ( ) : IByteBuf
return IByteBuf

Duplicate() public method

public Duplicate ( ) : IByteBuf
return IByteBuf

EnsureWritable() public method

public EnsureWritable ( int minWritableBytes ) : IByteBuf
minWritableBytes int
return IByteBuf

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBoolean() public method

public GetBoolean ( int index ) : bool
index int
return bool

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 length ) : IByteBuf
index int
destination IByteBuf
length int
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 ) : IByteBuf
index int
destination byte
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

GetChar() public method

public GetChar ( int index ) : char
index int
return char

GetDouble() public method

public GetDouble ( int index ) : double
index int
return double

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInt() public method

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

GetIoBuffer() public method

public GetIoBuffer ( ) : ArraySegment
return ArraySegment

GetIoBuffer() public method

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

GetIoBuffers() public method

public GetIoBuffers ( ) : ArraySegment[]
return ArraySegment[]

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

GetUnsignedInt() public method

public GetUnsignedInt ( int index ) : uint
index int
return uint

GetUnsignedShort() public method

public GetUnsignedShort ( int index ) : ushort
index int
return ushort

IsReadable() public method

public IsReadable ( ) : bool
return bool

IsReadable() public method

public IsReadable ( int size ) : bool
size int
return bool

IsWritable() public method

public IsWritable ( ) : bool
return bool

IsWritable() public method

public IsWritable ( int size ) : bool
size int
return bool

MarkReaderIndex() public method

public MarkReaderIndex ( ) : IByteBuf
return IByteBuf

MarkWriterIndex() public method

public MarkWriterIndex ( ) : IByteBuf
return IByteBuf

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

public ReadBytes ( IByteBuf destination ) : IByteBuf
destination IByteBuf
return IByteBuf

ReadBytes() public method

public ReadBytes ( IByteBuf destination, int length ) : IByteBuf
destination IByteBuf
length int
return IByteBuf

ReadBytes() public method

public ReadBytes ( IByteBuf destination, int dstIndex, int length ) : IByteBuf
destination IByteBuf
dstIndex int
length int
return IByteBuf

ReadBytes() public method

public ReadBytes ( byte destination ) : IByteBuf
destination byte
return IByteBuf

ReadBytes() public method

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

ReadBytes() public method

public ReadBytes ( int length ) : IByteBuf
length int
return IByteBuf

ReadChar() public method

public ReadChar ( ) : char
return char

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadInt() public method

public ReadInt ( ) : int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadShort() public method

public ReadShort ( ) : short
return short

ReadSlice() public method

public ReadSlice ( int length ) : IByteBuf
length int
return IByteBuf

ReadUnsignedInt() public method

public ReadUnsignedInt ( ) : uint
return uint

ReadUnsignedShort() public method

public ReadUnsignedShort ( ) : ushort
return ushort

Release() public method

public Release ( ) : bool
return bool

Release() public method

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

ResetReaderIndex() public method

public ResetReaderIndex ( ) : IByteBuf
return IByteBuf

ResetWriterIndex() public method

public ResetWriterIndex ( ) : IByteBuf
return IByteBuf

Retain() public method

public Retain ( ) : IReferenceCounted
return IReferenceCounted

Retain() public method

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

SetBoolean() public method

public SetBoolean ( int index, bool value ) : IByteBuf
index int
value bool
return IByteBuf

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 ) : IByteBuf
index int
src IByteBuf
return IByteBuf

SetBytes() public method

public SetBytes ( int index, IByteBuf src, int length ) : IByteBuf
index int
src IByteBuf
length 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 ) : IByteBuf
index int
src byte
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

SetChar() public method

public SetChar ( int index, char value ) : IByteBuf
index int
value char
return IByteBuf

SetDouble() public method

public SetDouble ( int index, double value ) : IByteBuf
index int
value double
return IByteBuf

SetIndex() public method

public SetIndex ( int readerIndex, int writerIndex ) : IByteBuf
readerIndex int
writerIndex 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

SetReaderIndex() public method

public SetReaderIndex ( int readerIndex ) : IByteBuf
readerIndex int
return IByteBuf

SetShort() public method

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

SetUnsignedInt() public method

public SetUnsignedInt ( int index, uint value ) : IByteBuf
index int
value uint
return IByteBuf

SetUnsignedShort() public method

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

SetUnsignedShort() public method

public SetUnsignedShort ( int index, ushort value ) : IByteBuf
index int
value ushort
return IByteBuf

SetWriterIndex() public method

public SetWriterIndex ( int writerIndex ) : IByteBuf
writerIndex int
return IByteBuf

SkipBytes() public method

public SkipBytes ( int length ) : IByteBuf
length int
return IByteBuf

Slice() public method

public Slice ( ) : IByteBuf
return IByteBuf

Slice() public method

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

SwappedByteBuffer() public method

public SwappedByteBuffer ( IByteBuf buf ) : System
buf IByteBuf
return System

ToArray() public method

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

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( Encoding encoding ) : string
encoding System.Text.Encoding
return string

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

WithOrder() public method

public WithOrder ( ByteOrder endianness ) : IByteBuf
endianness ByteOrder
return IByteBuf

WriteBoolean() public method

public WriteBoolean ( bool value ) : IByteBuf
value bool
return IByteBuf

WriteByte() public method

public WriteByte ( int value ) : IByteBuf
value int
return IByteBuf

WriteBytes() public method

public WriteBytes ( IByteBuf src ) : IByteBuf
src IByteBuf
return IByteBuf

WriteBytes() public method

public WriteBytes ( IByteBuf src, int length ) : IByteBuf
src IByteBuf
length int
return IByteBuf

WriteBytes() public method

public WriteBytes ( IByteBuf src, int srcIndex, int length ) : IByteBuf
src IByteBuf
srcIndex int
length int
return IByteBuf

WriteBytes() public method

public WriteBytes ( byte src ) : IByteBuf
src byte
return IByteBuf

WriteBytes() public method

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

WriteChar() public method

public WriteChar ( char value ) : IByteBuf
value char
return IByteBuf

WriteDouble() public method

public WriteDouble ( double value ) : IByteBuf
value double
return IByteBuf

WriteInt() public method

public WriteInt ( int value ) : IByteBuf
value int
return IByteBuf

WriteLong() public method

public WriteLong ( long value ) : IByteBuf
value long
return IByteBuf

WriteShort() public method

public WriteShort ( int value ) : IByteBuf
value int
return IByteBuf

WriteUnsignedInt() public method

public WriteUnsignedInt ( uint value ) : IByteBuf
value uint
return IByteBuf

WriteUnsignedShort() public method

public WriteUnsignedShort ( int value ) : IByteBuf
value int
return IByteBuf

WriteUnsignedShort() public method

public WriteUnsignedShort ( ushort value ) : IByteBuf
value ushort
return IByteBuf

WriteZero() public method

public WriteZero ( int length ) : IByteBuf
length int
return IByteBuf