C# Class Apache.NMS.Util.EndianBinaryReader

Inheritance: System.IO.BinaryReader
Afficher le fichier Open project: ThorTech/apache-nms

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
CreateDataFormatException ( ) : Exception

Private Methods

Méthode Description
doReadString ( int utfLength ) : string

Method Details

CreateDataFormatException() protected static méthode

protected static CreateDataFormatException ( ) : Exception
Résultat System.Exception

EndianBinaryReader() public méthode

public EndianBinaryReader ( Stream input ) : System
input Stream
Résultat System

Read() public méthode

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

ReadChar() public méthode

Method ReadChar
public ReadChar ( ) : char
Résultat char

ReadChars() public méthode

Method ReadChars
public ReadChars ( int count ) : char[]
count int An int
Résultat char[]

ReadDouble() public méthode

public ReadDouble ( ) : double
Résultat double

ReadInt16() public méthode

Method ReadInt16
public ReadInt16 ( ) : short
Résultat short

ReadInt32() public méthode

Method ReadInt32
public ReadInt32 ( ) : int
Résultat int

ReadInt64() public méthode

Method ReadInt64
public ReadInt64 ( ) : long
Résultat long

ReadSingle() public méthode

public ReadSingle ( ) : float
Résultat float

ReadString() public méthode

Method ReadString
public ReadString ( ) : String
Résultat String

ReadString16() public méthode

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
Résultat String

ReadString32() public méthode

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
Résultat String

ReadUInt16() public méthode

Method ReadUInt16
public ReadUInt16 ( ) : ushort
Résultat ushort

ReadUInt32() public méthode

Method ReadUInt32
public ReadUInt32 ( ) : uint
Résultat uint

ReadUInt64() public méthode

Method ReadUInt64
public ReadUInt64 ( ) : ulong
Résultat ulong