C# 클래스 ByteStream, DarkForcesUnity

상속: IDisposable
파일 보기 프로젝트 열기: joeriedel/DarkForcesUnity 1 사용 예제들

공개 메소드들

메소드 설명
ByteStream ( Stream baseStream ) : System
Dispose ( ) : void
Dispose ( bool bIsDisposing ) : void
Read ( int count ) : byte[]
Read ( byte buffer, int offset, int count ) : int
ReadBigDouble ( ) : double
ReadBigDouble ( int numBytes ) : double
ReadBigInt32 ( ) : int
ReadBigInt32 ( int numBytes ) : int
ReadBigInt64 ( ) : long
ReadBigInt64 ( int numBytes ) : long
ReadBigShort16 ( ) : int
ReadBigSingle ( ) : float
ReadBigSingle ( int numBytes ) : float
ReadBigUInt32 ( ) : uint
ReadBigUInt32 ( int numBytes ) : uint
ReadBigUInt64 ( ) : ulong
ReadBigUInt64 ( int numBytes ) : ulong
ReadBigUShort16 ( ) : int
ReadByte ( ) : int
ReadChar ( ) : char
ReadLittleDouble ( ) : double
ReadLittleDouble ( int numBytes ) : double
ReadLittleInt32 ( ) : int
ReadLittleInt32 ( int numBytes ) : int
ReadLittleInt64 ( ) : long
ReadLittleInt64 ( int numBytes ) : long
ReadLittleShort16 ( ) : int
ReadLittleSingle ( ) : float
ReadLittleSingle ( int numBytes ) : float
ReadLittleUInt32 ( ) : uint
ReadLittleUInt32 ( int numBytes ) : uint
ReadLittleUInt64 ( ) : ulong
ReadLittleUInt64 ( int numBytes ) : ulong
ReadLittleUShort16 ( ) : int
ReadString ( int numChars ) : string
SeekEnd ( long position ) : void
SeekSet ( long position ) : void
Skip ( int numBytes ) : void
Write ( byte bytes ) : void
Write ( byte buffer, int offset, int count ) : void
WriteBig ( double x ) : void
WriteBig ( double x, int numBytes ) : void
WriteBig ( float x ) : void
WriteBig ( float x, int numBytes ) : void
WriteBig ( int x ) : void
WriteBig ( int x, int numBytes ) : void
WriteBig ( long x ) : void
WriteBig ( long x, int numBytes ) : void
WriteBig ( uint x ) : void
WriteBig ( uint x, int numBytes ) : void
WriteBig ( ulong x ) : void
WriteBig ( ulong x, int numBytes ) : void
WriteLittle ( double x ) : void
WriteLittle ( double x, int numBytes ) : void
WriteLittle ( float x ) : void
WriteLittle ( float x, int numBytes ) : void
WriteLittle ( int x ) : void
WriteLittle ( int x, int numBytes ) : void
WriteLittle ( long x ) : void
WriteLittle ( long x, int numBytes ) : void
WriteLittle ( uint x ) : void
WriteLittle ( uint x, int numBytes ) : void
WriteLittle ( ulong x ) : void
WriteLittle ( ulong x, int numBytes ) : void

비공개 메소드들

메소드 설명
GetBytes ( int x, int numBytes ) : byte[]
GetBytes ( long x, int numBytes ) : byte[]
GetBytes ( uint x, int numBytes ) : byte[]
GetBytes ( ulong x, int numBytes ) : byte[]
SafeReadBig ( int numBytes, int maxLen ) : byte[]
SafeReadLittle ( int numBytes, int maxLen ) : byte[]
SafeWriteBig ( byte bytes ) : void
SafeWriteLittle ( byte bytes ) : void
SwapBig ( byte bytes ) : void
SwapLittle ( byte bytes ) : void
Trim ( byte bytes, int count ) : byte[]
WriteBig ( byte bytes ) : void
WriteLittle ( byte bytes ) : void

메소드 상세

ByteStream() 공개 메소드

public ByteStream ( Stream baseStream ) : System
baseStream Stream
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( bool bIsDisposing ) : void
bIsDisposing bool
리턴 void

Read() 공개 메소드

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

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadBigDouble() 공개 메소드

public ReadBigDouble ( ) : double
리턴 double

ReadBigDouble() 공개 메소드

public ReadBigDouble ( int numBytes ) : double
numBytes int
리턴 double

ReadBigInt32() 공개 메소드

public ReadBigInt32 ( ) : int
리턴 int

ReadBigInt32() 공개 메소드

public ReadBigInt32 ( int numBytes ) : int
numBytes int
리턴 int

ReadBigInt64() 공개 메소드

public ReadBigInt64 ( ) : long
리턴 long

ReadBigInt64() 공개 메소드

public ReadBigInt64 ( int numBytes ) : long
numBytes int
리턴 long

ReadBigShort16() 공개 메소드

public ReadBigShort16 ( ) : int
리턴 int

ReadBigSingle() 공개 메소드

public ReadBigSingle ( ) : float
리턴 float

ReadBigSingle() 공개 메소드

public ReadBigSingle ( int numBytes ) : float
numBytes int
리턴 float

ReadBigUInt32() 공개 메소드

public ReadBigUInt32 ( ) : uint
리턴 uint

ReadBigUInt32() 공개 메소드

public ReadBigUInt32 ( int numBytes ) : uint
numBytes int
리턴 uint

ReadBigUInt64() 공개 메소드

public ReadBigUInt64 ( ) : ulong
리턴 ulong

ReadBigUInt64() 공개 메소드

public ReadBigUInt64 ( int numBytes ) : ulong
numBytes int
리턴 ulong

ReadBigUShort16() 공개 메소드

public ReadBigUShort16 ( ) : int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

ReadChar() 공개 메소드

public ReadChar ( ) : char
리턴 char

ReadLittleDouble() 공개 메소드

public ReadLittleDouble ( ) : double
리턴 double

ReadLittleDouble() 공개 메소드

public ReadLittleDouble ( int numBytes ) : double
numBytes int
리턴 double

ReadLittleInt32() 공개 메소드

public ReadLittleInt32 ( ) : int
리턴 int

ReadLittleInt32() 공개 메소드

public ReadLittleInt32 ( int numBytes ) : int
numBytes int
리턴 int

ReadLittleInt64() 공개 메소드

public ReadLittleInt64 ( ) : long
리턴 long

ReadLittleInt64() 공개 메소드

public ReadLittleInt64 ( int numBytes ) : long
numBytes int
리턴 long

ReadLittleShort16() 공개 메소드

public ReadLittleShort16 ( ) : int
리턴 int

ReadLittleSingle() 공개 메소드

public ReadLittleSingle ( ) : float
리턴 float

ReadLittleSingle() 공개 메소드

public ReadLittleSingle ( int numBytes ) : float
numBytes int
리턴 float

ReadLittleUInt32() 공개 메소드

public ReadLittleUInt32 ( ) : uint
리턴 uint

ReadLittleUInt32() 공개 메소드

public ReadLittleUInt32 ( int numBytes ) : uint
numBytes int
리턴 uint

ReadLittleUInt64() 공개 메소드

public ReadLittleUInt64 ( ) : ulong
리턴 ulong

ReadLittleUInt64() 공개 메소드

public ReadLittleUInt64 ( int numBytes ) : ulong
numBytes int
리턴 ulong

ReadLittleUShort16() 공개 메소드

public ReadLittleUShort16 ( ) : int
리턴 int

ReadString() 공개 메소드

public ReadString ( int numChars ) : string
numChars int
리턴 string

SeekEnd() 공개 메소드

public SeekEnd ( long position ) : void
position long
리턴 void

SeekSet() 공개 메소드

public SeekSet ( long position ) : void
position long
리턴 void

Skip() 공개 메소드

public Skip ( int numBytes ) : void
numBytes int
리턴 void

Write() 공개 메소드

public Write ( byte bytes ) : void
bytes byte
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( double x ) : void
x double
리턴 void

WriteBig() 공개 메소드

public WriteBig ( double x, int numBytes ) : void
x double
numBytes int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( float x ) : void
x float
리턴 void

WriteBig() 공개 메소드

public WriteBig ( float x, int numBytes ) : void
x float
numBytes int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( int x ) : void
x int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( int x, int numBytes ) : void
x int
numBytes int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( long x ) : void
x long
리턴 void

WriteBig() 공개 메소드

public WriteBig ( long x, int numBytes ) : void
x long
numBytes int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( uint x ) : void
x uint
리턴 void

WriteBig() 공개 메소드

public WriteBig ( uint x, int numBytes ) : void
x uint
numBytes int
리턴 void

WriteBig() 공개 메소드

public WriteBig ( ulong x ) : void
x ulong
리턴 void

WriteBig() 공개 메소드

public WriteBig ( ulong x, int numBytes ) : void
x ulong
numBytes int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( double x ) : void
x double
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( double x, int numBytes ) : void
x double
numBytes int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( float x ) : void
x float
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( float x, int numBytes ) : void
x float
numBytes int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( int x ) : void
x int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( int x, int numBytes ) : void
x int
numBytes int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( long x ) : void
x long
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( long x, int numBytes ) : void
x long
numBytes int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( uint x ) : void
x uint
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( uint x, int numBytes ) : void
x uint
numBytes int
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( ulong x ) : void
x ulong
리턴 void

WriteLittle() 공개 메소드

public WriteLittle ( ulong x, int numBytes ) : void
x ulong
numBytes int
리턴 void