C# Class Shared.MutableMemoryStream

Inheritance: Stream
ファイルを表示 Open project: jbouzaglou/PetPigeonsESB

Public Methods

Method Description
Flush ( ) : void
GetBuffer ( ) : byte[]
MutableMemoryStream ( ) : System
MutableMemoryStream ( byte buffer ) : System
MutableMemoryStream ( byte buffer, int index, int count ) : System
MutableMemoryStream ( int capacity ) : System
Read ( [ buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin loc ) : long
SetBuffer ( byte buffer, int index, int count ) : void
SetLength ( long value ) : void
ToArray ( ) : byte[]
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void
WriteTo ( Stream stream ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
EnsureCapacity ( int value ) : bool
InternalEmulateRead ( int count ) : int
ReadByte ( ) : int

Method Details

Dispose() protected method

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

Flush() public method

public Flush ( ) : void
return void

GetBuffer() public method

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

MutableMemoryStream() public method

public MutableMemoryStream ( ) : System
return System

MutableMemoryStream() public method

public MutableMemoryStream ( byte buffer ) : System
buffer byte
return System

MutableMemoryStream() public method

public MutableMemoryStream ( byte buffer, int index, int count ) : System
buffer byte
index int
count int
return System

MutableMemoryStream() public method

public MutableMemoryStream ( int capacity ) : System
capacity int
return System

Read() public method

public Read ( [ buffer, int offset, int count ) : int
buffer [
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin loc ) : long
offset long
loc SeekOrigin
return long

SetBuffer() public method

public SetBuffer ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
return void

SetLength() public method

public SetLength ( long value ) : void
value long
return void

ToArray() public method

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

Write() public method

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

WriteByte() public method

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

WriteTo() public method

public WriteTo ( Stream stream ) : void
stream Stream
return void