C# 클래스 Lucene.Net.Support.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(IDataInput) method.

상속: IDataInput, IDisposable
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
DataInputStream ( Stream @in ) : System

Creates a DataInputStream that uses the specified underlying InputStream.

Dispose ( ) : void
Read ( byte b ) : int
Read ( byte b, int off, int len ) : int
ReadBoolean ( ) : bool
ReadByte ( ) : byte
ReadChar ( ) : char
ReadDouble ( ) : double
ReadFloat ( ) : float
ReadFully ( byte b ) : void
ReadFully ( byte b, int off, int len ) : void
ReadInt ( ) : int
ReadLong ( ) : long
ReadShort ( ) : short
ReadUTF ( ) : string
ReadUTF ( IDataInput @in ) : string
ReadUnsignedByte ( ) : int
ReadUnsignedShort ( ) : int
SkipBytes ( int n ) : int

비공개 메소드들

메소드 설명
ReadLine ( ) : string
Skip ( Stream stream, int n ) : int

Helper method for SkipBytes, since Position and Seek do not work on non-seekable streams.

메소드 상세

DataInputStream() 공개 메소드

Creates a DataInputStream that uses the specified underlying InputStream.
public DataInputStream ( Stream @in ) : System
@in Stream
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte b ) : int
b byte
리턴 int

Read() 공개 메소드

public Read ( byte b, int off, int len ) : int
b byte
off int
len int
리턴 int

ReadBoolean() 공개 메소드

public ReadBoolean ( ) : bool
리턴 bool

ReadByte() 공개 메소드

public ReadByte ( ) : byte
리턴 byte

ReadChar() 공개 메소드

public ReadChar ( ) : char
리턴 char

ReadDouble() 공개 메소드

public ReadDouble ( ) : double
리턴 double

ReadFloat() 공개 메소드

public ReadFloat ( ) : float
리턴 float

ReadFully() 공개 메소드

public ReadFully ( byte b ) : void
b byte
리턴 void

ReadFully() 공개 메소드

public ReadFully ( byte b, int off, int len ) : void
b byte
off int
len int
리턴 void

ReadInt() 공개 메소드

public ReadInt ( ) : int
리턴 int

ReadLong() 공개 메소드

public ReadLong ( ) : long
리턴 long

ReadShort() 공개 메소드

public ReadShort ( ) : short
리턴 short

ReadUTF() 공개 메소드

public ReadUTF ( ) : string
리턴 string

ReadUTF() 공개 정적인 메소드

public static ReadUTF ( IDataInput @in ) : string
@in IDataInput
리턴 string

ReadUnsignedByte() 공개 메소드

public ReadUnsignedByte ( ) : int
리턴 int

ReadUnsignedShort() 공개 메소드

public ReadUnsignedShort ( ) : int
리턴 int

SkipBytes() 공개 메소드

public SkipBytes ( int n ) : int
n int
리턴 int