C# Class Prism.IO.BinBufferNativeResource

Inheritance: BinBufferResource
ファイルを表示 Open project: TerrariaPrismTeam/Prism

Public Methods

Method Description
AsByteArray ( ) : byte[]
AsStream ( ) : Stream
BinBufferNativeResource ( IntPtr addr, bool isMallocated = false ) : System
BinBufferNativeResource ( IntPtr addr, int size, bool isMallocated = false ) : System
BinBufferNativeResource ( int size ) : System
Clear ( bool wipeData = false ) : void
Read ( byte data, int startIndex, int count ) : int
ReadByte ( ) : byte
ReadUnion ( int s ) : Union
Write ( Union v, int s ) : 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 method

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

AsStream() public method

public AsStream ( ) : Stream
return Stream

BinBufferNativeResource() public method

public BinBufferNativeResource ( IntPtr addr, bool isMallocated = false ) : System
addr System.IntPtr
isMallocated bool
return System

BinBufferNativeResource() public method

public BinBufferNativeResource ( IntPtr addr, int size, bool isMallocated = false ) : System
addr System.IntPtr
size int
isMallocated bool
return System

BinBufferNativeResource() public method

public BinBufferNativeResource ( int size ) : System
size int
return System

Clear() public method

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

Dispose() protected method

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

Read() public method

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

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadUnion() public method

public ReadUnion ( int s ) : Union
s int
return Union

Write() public method

public Write ( Union v, int s ) : void
v Union
s int
return void

Write() public method

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

WriteByte() public method

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