Class DataInputStream
Java's DataInputStream is similar to .NET's BinaryReader. However, it reads using a modified UTF-8 format that cannot be read using BinaryReader. This is a port of DataInputStream that is fully compatible with Java's DataOutputStream.
Usage Note: Always favor BinaryReader over DataInputStream unless you specifically need the modified UTF-8 format and/or the ReadUTF() or Lucene.Net.Support.IO.DataInputStream.DecodeUTF(System.Int32) method.
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class DataInputStream : object, IDataInput, IDisposable
Constructors
Name | Description |
---|---|
DataInputStream(Stream) | Constructs a new DataInputStream on the |
Methods
Name | Description |
---|---|
Dispose() | |
Read(Byte[]) | |
Read(Byte[], Int32, Int32) | |
ReadBoolean() | |
ReadByte() | NOTE: This was readUnsignedByte() in Java |
ReadChar() | |
ReadDouble() | |
ReadFully(Byte[]) | |
ReadFully(Byte[], Int32, Int32) | |
ReadInt16() | NOTE: This was readShort() in Java |
ReadInt32() | NOTE: This was readInt() in Java |
ReadInt64() | NOTE: This was readLong() in Java |
ReadLine() | |
ReadSByte() | NOTE: This was readByte() in Java |
ReadSingle() | NOTE: This was readFloat() in Java |
ReadUInt16() | NOTE: This was readUnsignedShort() in Java |
ReadUTF() | |
SkipBytes(Int32) |