C# Class IronRuby.Builtins.RubyPipe

Pipe for intra-process producer-consumer style message passing
Inheritance: Stream
Exibir arquivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
CreatePipe ( Stream &reader, Stream &writer ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Private Methods

Method Description
CloseWriter ( ) : void
RubyPipe ( ) : System
RubyPipe ( RubyPipe pipe ) : System

Method Details

CreatePipe() public static method

public static CreatePipe ( Stream &reader, Stream &writer ) : void
reader Stream
writer Stream
return void

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, 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