C# Class Prism.IO.BinBufferResource

Inheritance: IDisposable
Datei anzeigen Open project: TerrariaPrismTeam/Prism Class Usage Examples

Public Methods

Method Description
AsByteArray ( ) : byte[]
AsStream ( ) : Stream
Clear ( bool wipeData = false ) : void
Dispose ( ) : void
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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

AsByteArray() public abstract method

public abstract AsByteArray ( ) : byte[]
return byte[]

AsStream() public abstract method

public abstract AsStream ( ) : Stream
return Stream

Clear() public abstract method

public abstract Clear ( bool wipeData = false ) : void
wipeData bool
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected abstract method

protected abstract Dispose ( bool disposing ) : void
disposing bool
return void

Read() public abstract method

public abstract Read ( byte data, int startIndex, int count ) : int
data byte
startIndex int
count int
return int

ReadByte() public abstract method

public abstract ReadByte ( ) : byte
return byte

ReadUnion() public abstract method

public abstract ReadUnion ( int size ) : Union
size int
return Union

Write() public abstract method

public abstract Write ( Union v, int size ) : void
v Union
size int
return void

Write() public abstract method

public abstract Write ( byte data, int startIndex, int count ) : void
data byte
startIndex int
count int
return void

WriteByte() public abstract method

public abstract WriteByte ( byte value ) : void
value byte
return void