Changeset 112 for Include/Classes
- Timestamp:
- Feb 22, 2007, 2:40:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/Stream.ab
r111 r112 1 1 2 Enum SeekOrigin 3 Begin 4 Current 5 End 6 End Enum 2 Class Stream 3 Public 4 Virtual Function CanRead() As Boolean: End Function 5 Virtual Function CanSeek() As Boolean: End Function 6 Virtual Function CanTimeout() As Boolean: End Function 7 Virtual Function CanWrite() As Boolean: End Function 8 Virtual Function Length() As Int64: End Function 9 Virtual Sub Position(value As Int64): End Sub 10 Virtual Function Position() As Int64: End Function 11 Virtual Sub ReadTimeout(value As Long): End Sub 12 Virtual Function ReadTimeout() As Long: End Function 13 Virtual Sub WriteTimeout(value As Long): End Sub 14 Virtual Function WriteTimeout() As Long: End Function 7 15 8 Interface 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) 28 End Interface 16 Public 17 Virtual Function BeginRead(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As IAsyncResult: End Function 18 Virtual Function BeginWrite(ByRef buffer[] As Byte, offset As Long, count As Long, callback As AsyncCallback, state As Object) As IAsyncResult: End Function 19 Virtual Sub Close(): End Sub 20 Virtual Function EndRead(ByRef asyncResult As IAsyncResult) As Long: End Function 21 Virtual Sub EndWrite(ByRef asyncResult As IAsyncResult): End Sub 22 Virtual Sub Flush(): End Sub 23 Virtual Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long: End Function 24 Virtual Function ReadByte() As Long: End Function 25 Virtual Function Seek(offset As Int64, origin As SeekOrigin) As Long: End Function 26 Virtual Sub SetLength(value As Int64): End Sub 27 Virtual Sub Write (ByRef buffer[] As Byte, offset As Long, count As Long): End Sub 28 Virtual Sub WriteByte(value As Byte): End Sub 29 30 Protected 31 Virtual Function CreateWaitHandle() As WaitHandle: End Function 32 End Class
Note:
See TracChangeset
for help on using the changeset viewer.