C# Class Alexandria.Platforms.Wii.DiscPartitionStream

A stream for decoding a NintendoOpticalDiscPartition.
Inheritance: Stream
显示文件 Open project: Burton-Radons/Alexandria

Public Methods

Method Description
DiscPartitionStream ( NintendoOpticalDiscPartition partition ) : System

Create a stream.

Flush ( ) : void

Has no effect.

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

Read data from the partition.

Seek ( long offset, SeekOrigin origin ) : long

Seek to a position within the partition.

SetLength ( long value ) : void

Throws an exception.

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

Throws an exception.

Method Details

DiscPartitionStream() public method

Create a stream.
public DiscPartitionStream ( NintendoOpticalDiscPartition partition ) : System
partition NintendoOpticalDiscPartition
return System

Flush() public method

Has no effect.
public Flush ( ) : void
return void

Read() public method

Read data from the partition.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

Seek to a position within the partition.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

Throws an exception.
public SetLength ( long value ) : void
value long
return void

Write() public method

Throws an exception.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void