Streamクラス
提供:AB開発Wiki
ナビゲーションに移動検索に移動
Stream クラスは様々なストリーミングオブジェクトの基底となるクラスです。
クラスの機能
パブリックプロパティ
CanRead
Virtual Function CanRead() As Boolean
CanSeek
Virtual Function CanSeek() As Boolean
CanTimeout
Virtual Function CanTimeout() As Boolean
CanWrite
Virtual Function CanWrite() As Boolean
Length
Virtual Function Length() As Int64
Position
Virtual Sub Position(value As Int64) Virtual Function Position() As Int64
ReadTimeout
Virtual Sub ReadTimeout(value As Long) Virtual Function ReadTimeout() As Long
WriteTimeout
Virtual Sub WriteTimeout(value As Long) Virtual Function WriteTimeout() As Long
パブリックメソッド
BeginRead
Virtual Function BeginRead(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As IAsyncResult
BeginWrite
Virtual Function BeginWrite(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As IAsyncResult
Close
Virtual Sub Close()
EndRead
Virtual Function EndRead(ByRef asyncResult As IAsyncResult) As Long
EndWrite
Virtual Sub EndWrite(ByRef asyncResult As IAsyncResult)
Flush
Virtual Sub Flush()
Read
Virtual Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long
ReadByte
Virtual Function ReadByte() As Long
Seek
Virtual Function Seek(offset As Int64, origin As SeekOrigin) As Long
SetLength
Virtual Sub SetLength(value As Int64)
Write
Virtual Sub Write (ByRef buffer[] As Byte, offset As Long, count As Long)
WriteByte
Virtual Sub WriteByte(value As Byte)
プロテクトメソッド
CreateWaitHandle
Virtual Function CreateWaitHandle() As WaitHandle