C# Class BTDB.StreamLayer.AbstractBufferedReader

Datei anzeigen Open project: Bobris/BTDB Class Usage Examples

Protected Properties

Property Type Description
Buf byte[]
Bytes16 byte[]
CharBuf char[]
End int
Pos int

Public Methods

Method Description
CheckMagic ( byte magic ) : bool
GetCurrentPosition ( ) : long
ReadBlock ( ByteBuffer buffer ) : void
ReadBlock ( byte data ) : void
ReadBlock ( byte data, int offset, int length ) : void
ReadBool ( ) : bool
ReadByteArray ( ) : byte[]
ReadByteArrayRaw ( int len ) : byte[]
ReadByteArrayRawTillEof ( ) : byte[]
ReadDateTime ( ) : System.DateTime
ReadDecimal ( ) : decimal
ReadDouble ( ) : double
ReadGuid ( ) : System.Guid
ReadIPAddress ( ) : IPAddress
ReadInt32 ( ) : int
ReadInt32LE ( ) : int
ReadInt64 ( ) : long
ReadInt8 ( ) : sbyte
ReadInt8Ordered ( ) : sbyte
ReadSingle ( ) : float
ReadString ( ) : string
ReadStringOrdered ( ) : string
ReadTimeSpan ( ) : System.TimeSpan
ReadUInt8 ( ) : byte
ReadVInt16 ( ) : short
ReadVInt32 ( ) : int
ReadVInt64 ( ) : long
ReadVUInt16 ( ) : ushort
ReadVUInt32 ( ) : uint
ReadVUInt64 ( ) : ulong
SkipBlock ( int length ) : void
SkipBlock ( uint length ) : void
SkipBool ( ) : void
SkipByteArray ( ) : void
SkipDateTime ( ) : void
SkipDecimal ( ) : void
SkipDouble ( ) : void
SkipGuid ( ) : void
SkipIPAddress ( ) : void
SkipInt32 ( ) : void
SkipInt64 ( ) : void
SkipInt8 ( ) : void
SkipInt8Ordered ( ) : void
SkipSingle ( ) : void
SkipString ( ) : void
SkipStringOrdered ( ) : void
SkipTimeSpan ( ) : void
SkipUInt8 ( ) : void
SkipVInt16 ( ) : void
SkipVInt32 ( ) : void
SkipVInt64 ( ) : void
SkipVUInt16 ( ) : void
SkipVUInt32 ( ) : void
SkipVUInt64 ( ) : void

Protected Methods

Method Description
AbstractBufferedReader ( ) : System
FillBuffer ( ) : void
Get16Bytes ( ) : byte[]
NeedOneByteInBuffer ( ) : void
ReserveCharBuf ( int size ) : void

Method Details

AbstractBufferedReader() protected method

protected AbstractBufferedReader ( ) : System
return System

CheckMagic() public method

public CheckMagic ( byte magic ) : bool
magic byte
return bool

FillBuffer() protected abstract method

protected abstract FillBuffer ( ) : void
return void

Get16Bytes() protected method

protected Get16Bytes ( ) : byte[]
return byte[]

GetCurrentPosition() public abstract method

public abstract GetCurrentPosition ( ) : long
return long

NeedOneByteInBuffer() protected method

protected NeedOneByteInBuffer ( ) : void
return void

ReadBlock() public method

public ReadBlock ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

ReadBlock() public method

public ReadBlock ( byte data ) : void
data byte
return void

ReadBlock() public method

public ReadBlock ( byte data, int offset, int length ) : void
data byte
offset int
length int
return void

ReadBool() public method

public ReadBool ( ) : bool
return bool

ReadByteArray() public method

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

ReadByteArrayRaw() public method

public ReadByteArrayRaw ( int len ) : byte[]
len int
return byte[]

ReadByteArrayRawTillEof() public method

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

ReadDateTime() public method

public ReadDateTime ( ) : System.DateTime
return System.DateTime

ReadDecimal() public method

public ReadDecimal ( ) : decimal
return decimal

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadGuid() public method

public ReadGuid ( ) : System.Guid
return System.Guid

ReadIPAddress() public method

public ReadIPAddress ( ) : IPAddress
return System.Net.IPAddress

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt32LE() public method

public ReadInt32LE ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadInt8() public method

public ReadInt8 ( ) : sbyte
return sbyte

ReadInt8Ordered() public method

public ReadInt8Ordered ( ) : sbyte
return sbyte

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadString() public method

public ReadString ( ) : string
return string

ReadStringOrdered() public method

public ReadStringOrdered ( ) : string
return string

ReadTimeSpan() public method

public ReadTimeSpan ( ) : System.TimeSpan
return System.TimeSpan

ReadUInt8() public method

public ReadUInt8 ( ) : byte
return byte

ReadVInt16() public method

public ReadVInt16 ( ) : short
return short

ReadVInt32() public method

public ReadVInt32 ( ) : int
return int

ReadVInt64() public method

public ReadVInt64 ( ) : long
return long

ReadVUInt16() public method

public ReadVUInt16 ( ) : ushort
return ushort

ReadVUInt32() public method

public ReadVUInt32 ( ) : uint
return uint

ReadVUInt64() public method

public ReadVUInt64 ( ) : ulong
return ulong

ReserveCharBuf() protected method

protected ReserveCharBuf ( int size ) : void
size int
return void

SkipBlock() public method

public SkipBlock ( int length ) : void
length int
return void

SkipBlock() public method

public SkipBlock ( uint length ) : void
length uint
return void

SkipBool() public method

public SkipBool ( ) : void
return void

SkipByteArray() public method

public SkipByteArray ( ) : void
return void

SkipDateTime() public method

public SkipDateTime ( ) : void
return void

SkipDecimal() public method

public SkipDecimal ( ) : void
return void

SkipDouble() public method

public SkipDouble ( ) : void
return void

SkipGuid() public method

public SkipGuid ( ) : void
return void

SkipIPAddress() public method

public SkipIPAddress ( ) : void
return void

SkipInt32() public method

public SkipInt32 ( ) : void
return void

SkipInt64() public method

public SkipInt64 ( ) : void
return void

SkipInt8() public method

public SkipInt8 ( ) : void
return void

SkipInt8Ordered() public method

public SkipInt8Ordered ( ) : void
return void

SkipSingle() public method

public SkipSingle ( ) : void
return void

SkipString() public method

public SkipString ( ) : void
return void

SkipStringOrdered() public method

public SkipStringOrdered ( ) : void
return void

SkipTimeSpan() public method

public SkipTimeSpan ( ) : void
return void

SkipUInt8() public method

public SkipUInt8 ( ) : void
return void

SkipVInt16() public method

public SkipVInt16 ( ) : void
return void

SkipVInt32() public method

public SkipVInt32 ( ) : void
return void

SkipVInt64() public method

public SkipVInt64 ( ) : void
return void

SkipVUInt16() public method

public SkipVUInt16 ( ) : void
return void

SkipVUInt32() public method

public SkipVUInt32 ( ) : void
return void

SkipVUInt64() public method

public SkipVUInt64 ( ) : void
return void

Property Details

Buf protected_oe property

protected byte[] Buf
return byte[]

Bytes16 protected_oe property

protected byte[] Bytes16
return byte[]

CharBuf protected_oe property

protected char[] CharBuf
return char[]

End protected_oe property

protected int End
return int

Pos protected_oe property

protected int Pos
return int