C# 클래스 Prism.IO.BinBufferStreamResource

상속: BinBufferResource
파일 보기 프로젝트 열기: TerrariaPrismTeam/Prism

공개 메소드들

메소드 설명
AsByteArray ( ) : byte[]
AsStream ( ) : Stream
BinBufferStreamResource ( Stream s, bool copy = false, bool dispose = true ) : System
BinBufferStreamResource ( byte buffer ) : System
BinBufferStreamResource ( int initialCapacity ) : System
Clear ( bool wipeData = false ) : void
FromFile ( string path, bool canWrite = true ) : BinBufferStreamResource
Read ( byte data, int startIndex, int count ) : int
ReadByte ( ) : byte
ReadUnion ( int size ) : Union
Write ( Union v, int size ) : void
Write ( byte data, int startIndex, int count ) : void
WriteByte ( byte value ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

AsByteArray() 공개 메소드

public AsByteArray ( ) : byte[]
리턴 byte[]

AsStream() 공개 메소드

public AsStream ( ) : Stream
리턴 Stream

BinBufferStreamResource() 공개 메소드

public BinBufferStreamResource ( Stream s, bool copy = false, bool dispose = true ) : System
s Stream
copy bool
dispose bool
리턴 System

BinBufferStreamResource() 공개 메소드

public BinBufferStreamResource ( byte buffer ) : System
buffer byte
리턴 System

BinBufferStreamResource() 공개 메소드

public BinBufferStreamResource ( int initialCapacity ) : System
initialCapacity int
리턴 System

Clear() 공개 메소드

public Clear ( bool wipeData = false ) : void
wipeData bool
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FromFile() 공개 정적인 메소드

public static FromFile ( string path, bool canWrite = true ) : BinBufferStreamResource
path string
canWrite bool
리턴 BinBufferStreamResource

Read() 공개 메소드

public Read ( byte data, int startIndex, int count ) : int
data byte
startIndex int
count int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : byte
리턴 byte

ReadUnion() 공개 메소드

public ReadUnion ( int size ) : Union
size int
리턴 Union

Write() 공개 메소드

public Write ( Union v, int size ) : void
v Union
size int
리턴 void

Write() 공개 메소드

public Write ( byte data, int startIndex, int count ) : void
data byte
startIndex int
count int
리턴 void

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void