C# Class Mosa.AppSystem.AppOutputStream

Inheritance: System.IO.Stream
ファイルを表示 Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
AppOutputStream ( ConsoleSession session ) : System.IO

Initializes a new instance of the AppOutputStream class.

Flush ( ) : void

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

Reads the specified buffer.

ReadByte ( ) : int

Seek ( long offset, SeekOrigin origin ) : long

Seeks the specified offset.

SetLength ( long value ) : void

Sets the length.

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

Writes the specified buffer.

WriteByte ( byte value ) : void

Writes the byte.

Method Details

AppOutputStream() public method

Initializes a new instance of the AppOutputStream class.
public AppOutputStream ( ConsoleSession session ) : System.IO
session Mosa.Kernel.x86.ConsoleSession The session.
return System.IO

Flush() public method

public Flush ( ) : void
return void

Read() public method

Reads the specified buffer.
public Read ( byte buffer, int offset, int count ) : int
buffer byte The buffer.
offset int The offset.
count int The count.
return int

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

Seeks the specified offset.
public Seek ( long offset, SeekOrigin origin ) : long
offset long The offset.
origin SeekOrigin The origin.
return long

SetLength() public method

Sets the length.
public SetLength ( long value ) : void
value long The value.
return void

Write() public method

Writes the specified buffer.
public Write ( byte buffer, int offset, int count ) : void
buffer byte The buffer.
offset int The offset.
count int The count.
return void

WriteByte() public method

Writes the byte.
public WriteByte ( byte value ) : void
value byte The value.
return void