C# 클래스 Ypsilon.Core.IO.BinaryFileReader

파일 보기 프로젝트 열기: ZaneDubya/YCPU

공개 메소드들

메소드 설명
BinaryFileReader ( BinaryReader br ) : System
BinaryFileReader ( MemoryStream stream ) : System
BinaryFileReader ( string path ) : System
Close ( ) : void
End ( ) : bool
Read7BitEncodedInt ( ) : int
ReadBool ( ) : bool
ReadByte ( ) : byte
ReadBytes ( int count ) : byte[]
ReadChar ( ) : char
ReadCharUTF8 ( ) : char

WARNING: INCOMPLETE, ONLY READS 2-byte UTF8 chars.

ReadDateTime ( ) : System.DateTime
ReadDecimal ( ) : decimal
ReadDeltaTime ( ) : System.DateTime
ReadDouble ( ) : double
ReadEncodedInt ( ) : int
ReadFloat ( ) : float
ReadIPAddress ( ) : IPAddress
ReadInt ( ) : int
ReadInts ( int count ) : int[]
ReadLine ( ) : string
ReadLong ( ) : long
ReadSByte ( ) : sbyte
ReadShort ( ) : short
ReadString ( ) : string
ReadStringKnownLength ( int length ) : string
ReadStringNullTerminated ( ) : string
ReadTimeSpan ( ) : System.TimeSpan
ReadUInt ( ) : uint
ReadUInt_BigEndian ( ) : uint
ReadUInts ( int count ) : uint[]
ReadULong ( ) : ulong
ReadUShort ( ) : ushort
ReadUShort_BigEndian ( ) : ushort
ReadUShorts ( int count ) : ushort[]
Seek ( long offset, SeekOrigin origin ) : long

메소드 상세

BinaryFileReader() 공개 메소드

public BinaryFileReader ( BinaryReader br ) : System
br System.IO.BinaryReader
리턴 System

BinaryFileReader() 공개 메소드

public BinaryFileReader ( MemoryStream stream ) : System
stream System.IO.MemoryStream
리턴 System

BinaryFileReader() 공개 메소드

public BinaryFileReader ( string path ) : System
path string
리턴 System

Close() 공개 메소드

public Close ( ) : void
리턴 void

End() 공개 메소드

public End ( ) : bool
리턴 bool

Read7BitEncodedInt() 공개 메소드

public Read7BitEncodedInt ( ) : int
리턴 int

ReadBool() 공개 메소드

public ReadBool ( ) : bool
리턴 bool

ReadByte() 공개 메소드

public ReadByte ( ) : byte
리턴 byte

ReadBytes() 공개 메소드

public ReadBytes ( int count ) : byte[]
count int
리턴 byte[]

ReadChar() 공개 메소드

public ReadChar ( ) : char
리턴 char

ReadCharUTF8() 공개 메소드

WARNING: INCOMPLETE, ONLY READS 2-byte UTF8 chars.
public ReadCharUTF8 ( ) : char
리턴 char

ReadDateTime() 공개 메소드

public ReadDateTime ( ) : System.DateTime
리턴 System.DateTime

ReadDecimal() 공개 메소드

public ReadDecimal ( ) : decimal
리턴 decimal

ReadDeltaTime() 공개 메소드

public ReadDeltaTime ( ) : System.DateTime
리턴 System.DateTime

ReadDouble() 공개 메소드

public ReadDouble ( ) : double
리턴 double

ReadEncodedInt() 공개 메소드

public ReadEncodedInt ( ) : int
리턴 int

ReadFloat() 공개 메소드

public ReadFloat ( ) : float
리턴 float

ReadIPAddress() 공개 메소드

public ReadIPAddress ( ) : IPAddress
리턴 System.Net.IPAddress

ReadInt() 공개 메소드

public ReadInt ( ) : int
리턴 int

ReadInts() 공개 메소드

public ReadInts ( int count ) : int[]
count int
리턴 int[]

ReadLine() 공개 메소드

public ReadLine ( ) : string
리턴 string

ReadLong() 공개 메소드

public ReadLong ( ) : long
리턴 long

ReadSByte() 공개 메소드

public ReadSByte ( ) : sbyte
리턴 sbyte

ReadShort() 공개 메소드

public ReadShort ( ) : short
리턴 short

ReadString() 공개 메소드

public ReadString ( ) : string
리턴 string

ReadStringKnownLength() 공개 메소드

public ReadStringKnownLength ( int length ) : string
length int
리턴 string

ReadStringNullTerminated() 공개 메소드

public ReadStringNullTerminated ( ) : string
리턴 string

ReadTimeSpan() 공개 메소드

public ReadTimeSpan ( ) : System.TimeSpan
리턴 System.TimeSpan

ReadUInt() 공개 메소드

public ReadUInt ( ) : uint
리턴 uint

ReadUInt_BigEndian() 공개 메소드

public ReadUInt_BigEndian ( ) : uint
리턴 uint

ReadUInts() 공개 메소드

public ReadUInts ( int count ) : uint[]
count int
리턴 uint[]

ReadULong() 공개 메소드

public ReadULong ( ) : ulong
리턴 ulong

ReadUShort() 공개 메소드

public ReadUShort ( ) : ushort
리턴 ushort

ReadUShort_BigEndian() 공개 메소드

public ReadUShort_BigEndian ( ) : ushort
리턴 ushort

ReadUShorts() 공개 메소드

public ReadUShorts ( int count ) : ushort[]
count int
리턴 ushort[]

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long