C# Class YeloDebug.Xbox.FileStream

Creates a standard xbox file stream.
Inheritance: Stream
显示文件 Open project: troymac1ure/Entity

Protected Properties

Property Type Description
FileName string
position uint

Public Methods

Method Description
FileStream ( Xbox client, string fileName ) : System
FileStream ( Xbox client, string fileName, FileMode mode ) : System

Creates a new file stream using a client connection to a debug xbox.

Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, System origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Method Details

FileStream() public method

public FileStream ( Xbox client, string fileName ) : System
client Xbox
fileName string
return System

FileStream() public method

Creates a new file stream using a client connection to a debug xbox.
public FileStream ( Xbox client, string fileName, FileMode mode ) : System
client Xbox Connection to use.
fileName string Name of the file to expose stream to.
mode FileMode File create disposition.
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

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

Seek() public method

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

SetLength() public method

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

Write() public method

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

Property Details

FileName protected_oe property

protected string FileName
return string

position protected_oe property

protected uint position
return uint