Show / Hide Table of Contents

    Class EndianBinaryReader

    A BinaryWriter that switches the endian orientation of the read operations so that they are compatible across platforms.

    Inheritance
    System.Object
    System.IO.BinaryReader
    EndianBinaryReader
    Implements
    System.IDisposable
    Inherited Members
    System.IO.BinaryReader.Close()
    System.IO.BinaryReader.Dispose()
    System.IO.BinaryReader.Dispose(System.Boolean)
    System.IO.BinaryReader.FillBuffer(System.Int32)
    System.IO.BinaryReader.PeekChar()
    System.IO.BinaryReader.Read()
    System.IO.BinaryReader.Read(System.Byte[], System.Int32, System.Int32)
    System.IO.BinaryReader.Read7BitEncodedInt()
    System.IO.BinaryReader.ReadBoolean()
    System.IO.BinaryReader.ReadByte()
    System.IO.BinaryReader.ReadBytes(System.Int32)
    System.IO.BinaryReader.ReadDecimal()
    System.IO.BinaryReader.ReadSByte()
    System.IO.BinaryReader.BaseStream
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Apache.NMS.Util
    Assembly: Apache.NMS.dll
    Syntax
    [CLSCompliant(false)]
    public class EndianBinaryReader : BinaryReader, IDisposable

    Constructors

    EndianBinaryReader(Stream)

    Declaration
    public EndianBinaryReader(Stream input)
    Parameters
    Type Name Description
    System.IO.Stream input

    Methods

    CreateDataFormatException()

    Declaration
    protected static Exception CreateDataFormatException()
    Returns
    Type Description
    System.Exception

    Read(Char[], Int32, Int32)

    Method Read

    Declaration
    public override int Read(char[] buffer, int index, int count)
    Parameters
    Type Name Description
    System.Char[] buffer

    A char[]

    System.Int32 index

    An int

    System.Int32 count

    An int

    Returns
    Type Description
    System.Int32

    An int

    Overrides
    System.IO.BinaryReader.Read(System.Char[], System.Int32, System.Int32)

    ReadChar()

    Method ReadChar

    Declaration
    public override char ReadChar()
    Returns
    Type Description
    System.Char

    A char

    Overrides
    System.IO.BinaryReader.ReadChar()

    ReadChars(Int32)

    Method ReadChars

    Declaration
    public override char[] ReadChars(int count)
    Parameters
    Type Name Description
    System.Int32 count

    An int

    Returns
    Type Description
    System.Char[]

    A char[]

    Overrides
    System.IO.BinaryReader.ReadChars(System.Int32)

    ReadDouble()

    Declaration
    public override double ReadDouble()
    Returns
    Type Description
    System.Double
    Overrides
    System.IO.BinaryReader.ReadDouble()

    ReadInt16()

    Method ReadInt16

    Declaration
    public override short ReadInt16()
    Returns
    Type Description
    System.Int16

    A short

    Overrides
    System.IO.BinaryReader.ReadInt16()

    ReadInt32()

    Method ReadInt32

    Declaration
    public override int ReadInt32()
    Returns
    Type Description
    System.Int32

    An int

    Overrides
    System.IO.BinaryReader.ReadInt32()

    ReadInt64()

    Method ReadInt64

    Declaration
    public override long ReadInt64()
    Returns
    Type Description
    System.Int64

    A long

    Overrides
    System.IO.BinaryReader.ReadInt64()

    ReadSingle()

    Declaration
    public override float ReadSingle()
    Returns
    Type Description
    System.Single
    Overrides
    System.IO.BinaryReader.ReadSingle()

    ReadString()

    Method ReadString

    Declaration
    public override string ReadString()
    Returns
    Type Description
    System.String

    A string

    Overrides
    System.IO.BinaryReader.ReadString()

    ReadString16()

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

    Declaration
    public string ReadString16()
    Returns
    Type Description
    System.String

    A string

    ReadString32()

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

    Declaration
    public string ReadString32()
    Returns
    Type Description
    System.String

    A string

    ReadUInt16()

    Method ReadUInt16

    Declaration
    public override ushort ReadUInt16()
    Returns
    Type Description
    System.UInt16

    An ushort

    Overrides
    System.IO.BinaryReader.ReadUInt16()

    ReadUInt32()

    Method ReadUInt32

    Declaration
    public override uint ReadUInt32()
    Returns
    Type Description
    System.UInt32

    An uint

    Overrides
    System.IO.BinaryReader.ReadUInt32()

    ReadUInt64()

    Method ReadUInt64

    Declaration
    public override ulong ReadUInt64()
    Returns
    Type Description
    System.UInt64

    An ulong

    Overrides
    System.IO.BinaryReader.ReadUInt64()

    Implements

    System.IDisposable
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX