Changeset 111


Ignore:
Timestamp:
Feb 19, 2007, 5:39:04 AM (17 years ago)
Author:
NoWest
Message:

とりあえず、Interfaceで実装。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/IO/Stream.ab

    r69 r111  
    1 ' TODO: 実装
     1
     2Enum SeekOrigin
     3    Begin
     4    Current
     5    End
     6End Enum
     7
     8Interface Stream
     9    Function CanRead() As Boolean
     10    Function CanSeek() As Boolean
     11    Function CanTimeout() As Boolean
     12    Function CanWrite() As Boolean
     13    Function Length() As Int64
     14    Sub Position(value As Int64)
     15    Function Position() As Int64
     16    Sub ReadTimeout(value As Long)
     17    Function ReadTimeout() As Long
     18    Sub WriteTimeout(value As Long)
     19    Function WriteTimeout() As Long
     20    Sub Close()
     21    Sub Flush()
     22    Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long
     23    Function ReadByte() As Long
     24    Function Seek(offset As Long, origin As SeekOrigin) As Long
     25    Sub SetLength(value As Int64)
     26    Sub Write (ByRef buffer[] As Byte, offset As Long, count As Long)
     27    Sub WriteByte(value As Byte)
     28End Interface
Note: See TracChangeset for help on using the changeset viewer.