C# Class IronRuby.Runtime.IOWrapper

Inheritance: Stream
Show file Open project: IronLanguages/main Class Usage Examples

Private Properties

Property Type Description
FlushRead void
FlushWrite void
ReadFromObject int
WriteToObject void
WriteToObject void

Public Methods

Method Description
Flush ( ) : void
IOWrapper ( RubyContext context, object io, bool canRead, bool canWrite, bool canSeek, bool canFlush, bool canClose, int bufferSize ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
FlushRead ( ) : void
FlushWrite ( ) : void
ReadFromObject ( byte buffer, int offset, int count ) : int
WriteToObject ( ) : void
WriteToObject ( byte buffer, int offset, int count ) : void

Method Details

Dispose() protected method

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

Flush() public method

public Flush ( ) : void
return void

IOWrapper() public method

public IOWrapper ( RubyContext context, object io, bool canRead, bool canWrite, bool canSeek, bool canFlush, bool canClose, int bufferSize ) : System
context RubyContext
io object
canRead bool
canWrite bool
canSeek bool
canFlush bool
canClose bool
bufferSize 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

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

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