C# 클래스 IronRuby.Builtins.RubyIO

IO builtin class. Wraps a BCL Stream object. Implementation of Ruby methods is in IoOps.cs in IronRuby.Libraries assembly.
상속: IDisposable
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
AppendBytes ( MutableString buffer, int count ) : int
Close ( ) : void
CloseReader ( ) : void
CloseWriter ( ) : void
CreateErrorWaitHandle ( ) : WaitHandle
CreateReadWaitHandle ( ) : WaitHandle
CreateWriteWaitHandle ( ) : WaitHandle
Dispose ( ) : void
FileControl ( int commandId, byte arg ) : int
FileControl ( int commandId, int arg ) : int
Flush ( ) : void
GetBinaryReader ( ) : BinaryReader
GetBinaryWriter ( ) : BinaryWriter
GetFileDescriptor ( ) : int
GetReadableStream ( ) : RubyBufferedStream
GetSeekPosition ( long length, long position, long seekOffset, SeekOrigin origin ) : long
GetStream ( ) : RubyBufferedStream
GetWritableStream ( ) : RubyBufferedStream
IsConsoleDescriptor ( ) : bool
IsEndOfStream ( ) : bool
NonBlockingOperation ( Action operation, bool isRead ) : void
PeekByteNormalizeEoln ( ) : int
PushBack ( byte b ) : void
ReadByteNormalizeEoln ( ) : int
ReadLineOrParagraph ( MutableString separator, int limit ) : MutableString
RequireInitialized ( ) : void
RequireOpen ( ) : void
RequireReadable ( ) : void
RequireWritable ( ) : void
Reset ( Stream stream, IOMode mode ) : void
RubyIO ( RubyContext context ) : System
RubyIO ( RubyContext context, Stream stream, IOMode mode ) : System
RubyIO ( RubyContext context, Stream stream, int descriptor, IOMode mode ) : System
RubyIO ( RubyContext context, StreamReader reader, StreamWriter writer, IOMode mode ) : System
Seek ( long offset, SeekOrigin origin ) : void
SetFileDescriptor ( int value ) : void
SetReadTimeout ( int timeout ) : int
SetStream ( Stream stream ) : void
ToSeekOrigin ( int rubySeekOrigin ) : SeekOrigin
ToString ( ) : string
WriteBytes ( MutableString buffer, int index, int count ) : int
WriteBytes ( byte buffer, int index, int count ) : int
WriteBytes ( char buffer, int index, int count ) : int
WriteBytes ( string value ) : int

비공개 메소드들

메소드 설명
IsConsoleDescriptor ( int fileDescriptor ) : bool
WriteBytes ( byte bytes, MutableString str, int index, int count ) : int

메소드 상세

AppendBytes() 공개 메소드

public AppendBytes ( MutableString buffer, int count ) : int
buffer MutableString
count int
리턴 int

Close() 공개 메소드

public Close ( ) : void
리턴 void

CloseReader() 공개 메소드

public CloseReader ( ) : void
리턴 void

CloseWriter() 공개 메소드

public CloseWriter ( ) : void
리턴 void

CreateErrorWaitHandle() 공개 메소드

public CreateErrorWaitHandle ( ) : WaitHandle
리턴 WaitHandle

CreateReadWaitHandle() 공개 메소드

public CreateReadWaitHandle ( ) : WaitHandle
리턴 WaitHandle

CreateWriteWaitHandle() 공개 메소드

public CreateWriteWaitHandle ( ) : WaitHandle
리턴 WaitHandle

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FileControl() 공개 메소드

public FileControl ( int commandId, byte arg ) : int
commandId int
arg byte
리턴 int

FileControl() 공개 메소드

public FileControl ( int commandId, int arg ) : int
commandId int
arg int
리턴 int

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

GetBinaryReader() 공개 메소드

public GetBinaryReader ( ) : BinaryReader
리턴 BinaryReader

GetBinaryWriter() 공개 메소드

public GetBinaryWriter ( ) : BinaryWriter
리턴 BinaryWriter

GetFileDescriptor() 공개 메소드

public GetFileDescriptor ( ) : int
리턴 int

GetReadableStream() 공개 메소드

public GetReadableStream ( ) : RubyBufferedStream
리턴 RubyBufferedStream

GetSeekPosition() 공개 정적인 메소드

public static GetSeekPosition ( long length, long position, long seekOffset, SeekOrigin origin ) : long
length long
position long
seekOffset long
origin SeekOrigin
리턴 long

GetStream() 공개 메소드

public GetStream ( ) : RubyBufferedStream
리턴 RubyBufferedStream

GetWritableStream() 공개 메소드

public GetWritableStream ( ) : RubyBufferedStream
리턴 RubyBufferedStream

IsConsoleDescriptor() 공개 메소드

public IsConsoleDescriptor ( ) : bool
리턴 bool

IsEndOfStream() 공개 메소드

public IsEndOfStream ( ) : bool
리턴 bool

NonBlockingOperation() 공개 메소드

public NonBlockingOperation ( Action operation, bool isRead ) : void
operation Action
isRead bool
리턴 void

PeekByteNormalizeEoln() 공개 메소드

public PeekByteNormalizeEoln ( ) : int
리턴 int

PushBack() 공개 메소드

public PushBack ( byte b ) : void
b byte
리턴 void

ReadByteNormalizeEoln() 공개 메소드

public ReadByteNormalizeEoln ( ) : int
리턴 int

ReadLineOrParagraph() 공개 메소드

public ReadLineOrParagraph ( MutableString separator, int limit ) : MutableString
separator MutableString
limit int
리턴 MutableString

RequireInitialized() 공개 메소드

public RequireInitialized ( ) : void
리턴 void

RequireOpen() 공개 메소드

public RequireOpen ( ) : void
리턴 void

RequireReadable() 공개 메소드

public RequireReadable ( ) : void
리턴 void

RequireWritable() 공개 메소드

public RequireWritable ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( Stream stream, IOMode mode ) : void
stream Stream
mode IOMode
리턴 void

RubyIO() 공개 메소드

public RubyIO ( RubyContext context ) : System
context RubyContext
리턴 System

RubyIO() 공개 메소드

public RubyIO ( RubyContext context, Stream stream, IOMode mode ) : System
context RubyContext
stream Stream
mode IOMode
리턴 System

RubyIO() 공개 메소드

public RubyIO ( RubyContext context, Stream stream, int descriptor, IOMode mode ) : System
context RubyContext
stream Stream
descriptor int
mode IOMode
리턴 System

RubyIO() 공개 메소드

public RubyIO ( RubyContext context, StreamReader reader, StreamWriter writer, IOMode mode ) : System
context RubyContext
reader StreamReader
writer StreamWriter
mode IOMode
리턴 System

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : void
offset long
origin SeekOrigin
리턴 void

SetFileDescriptor() 공개 메소드

public SetFileDescriptor ( int value ) : void
value int
리턴 void

SetReadTimeout() 공개 메소드

public SetReadTimeout ( int timeout ) : int
timeout int
리턴 int

SetStream() 공개 메소드

public SetStream ( Stream stream ) : void
stream Stream
리턴 void

ToSeekOrigin() 공개 정적인 메소드

public static ToSeekOrigin ( int rubySeekOrigin ) : SeekOrigin
rubySeekOrigin int
리턴 SeekOrigin

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

WriteBytes() 공개 메소드

public WriteBytes ( MutableString buffer, int index, int count ) : int
buffer MutableString
index int
count int
리턴 int

WriteBytes() 공개 메소드

public WriteBytes ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
리턴 int

WriteBytes() 공개 메소드

public WriteBytes ( char buffer, int index, int count ) : int
buffer char
index int
count int
리턴 int

WriteBytes() 공개 메소드

public WriteBytes ( string value ) : int
value string
리턴 int