C# Class Gammtek.Conduit.IO.MemoryTributary

Inheritance: Stream
Show file Open project: ME3Explorer/ME3Explorer

Protected Properties

Property Type Description
BlockSize long
Blocks List

Public Methods

Method Description
Flush ( ) : void
MemoryTributary ( ) : System
MemoryTributary ( byte source ) : System
MemoryTributary ( int length ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadFrom ( Stream source, long length ) : void
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
ToArray ( ) : byte[]
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void
WriteTo ( Stream destination ) : void

Protected Methods

Method Description
EnsureCapacity ( long intendedLength ) : void

Private Methods

Method Description
InitStream ( byte source = null ) : void
InitStream ( int length ) : void

Method Details

EnsureCapacity() protected method

protected EnsureCapacity ( long intendedLength ) : void
intendedLength long
return void

Flush() public method

public Flush ( ) : void
return void

MemoryTributary() public method

public MemoryTributary ( ) : System
return System

MemoryTributary() public method

public MemoryTributary ( byte source ) : System
source byte
return System

MemoryTributary() public method

public MemoryTributary ( int length ) : System
length int
return System

Read() public method

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

ReadByte() public method

public ReadByte ( ) : int
return int

ReadFrom() public method

public ReadFrom ( Stream source, long length ) : void
source Stream
length long
return void

Seek() public method

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

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 destination ) : void
destination Stream
return void

Property Details

BlockSize protected property

protected long BlockSize
return long

Blocks protected property

protected List Blocks
return List