C# Class Apache.NMS.Util.EndianBinaryReader

Inheritance: System.IO.BinaryReader
Datei anzeigen Open project: ThorTech/apache-nms

Public Methods

Method Description
EndianBinaryReader ( Stream input ) : System
Read ( char buffer, int index, int count ) : int

Method Read

ReadChar ( ) : char

Method ReadChar

ReadChars ( int count ) : char[]

Method ReadChars

ReadDouble ( ) : double
ReadInt16 ( ) : short

Method ReadInt16

ReadInt32 ( ) : int

Method ReadInt32

ReadInt64 ( ) : long

Method ReadInt64

ReadSingle ( ) : float
ReadString ( ) : String

Method ReadString

ReadString16 ( ) : String

Method ReadString16, reads a String value encoded in the Java modified UTF-8 format with a length index encoded as a 16bit unsigned short.

ReadString32 ( ) : String

Method ReadString32, reads a String value encoded in the Java modified UTF-8 format with a length index encoded as a singed integer value.

ReadUInt16 ( ) : ushort

Method ReadUInt16

ReadUInt32 ( ) : uint

Method ReadUInt32

ReadUInt64 ( ) : ulong

Method ReadUInt64

Protected Methods

Method Description
CreateDataFormatException ( ) : Exception

Private Methods

Method Description
doReadString ( int utfLength ) : string

Method Details

CreateDataFormatException() protected static method

protected static CreateDataFormatException ( ) : Exception
return System.Exception

EndianBinaryReader() public method

public EndianBinaryReader ( Stream input ) : System
input Stream
return System

Read() public method

Method Read
public Read ( char buffer, int index, int count ) : int
buffer char A char[]
index int An int
count int An int
return int

ReadChar() public method

Method ReadChar
public ReadChar ( ) : char
return char

ReadChars() public method

Method ReadChars
public ReadChars ( int count ) : char[]
count int An int
return char[]

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadInt16() public method

Method ReadInt16
public ReadInt16 ( ) : short
return short

ReadInt32() public method

Method ReadInt32
public ReadInt32 ( ) : int
return int

ReadInt64() public method

Method ReadInt64
public ReadInt64 ( ) : long
return long

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadString() public method

Method ReadString
public ReadString ( ) : String
return String

ReadString16() public method

Method ReadString16, reads a String value encoded in the Java modified UTF-8 format with a length index encoded as a 16bit unsigned short.
public ReadString16 ( ) : String
return String

ReadString32() public method

Method ReadString32, reads a String value encoded in the Java modified UTF-8 format with a length index encoded as a singed integer value.
public ReadString32 ( ) : String
return String

ReadUInt16() public method

Method ReadUInt16
public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

Method ReadUInt32
public ReadUInt32 ( ) : uint
return uint

ReadUInt64() public method

Method ReadUInt64
public ReadUInt64 ( ) : ulong
return ulong