Changeset 337 for trunk/Include/Classes/System/IO/Stream.ab
- Timestamp:
- Sep 22, 2007, 12:32:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/IO/Stream.ab
r271 r337 46 46 Virtual Sub EndWrite(ByRef asyncResult As System.IAsyncResult): End Sub 47 47 Abstract Sub Flush() 48 Abstract Function Read( ByRef buffer[] AsByte, offset As Long, count As Long) As Long48 Abstract Function Read(buffer As *Byte, offset As Long, count As Long) As Long 49 49 50 50 Virtual Function ReadByte() As Long 51 51 Dim b As Byte 52 Dim ret = Read( b, 0, 1)52 Dim ret = Read(VarPtr(b), 0, 1) 53 53 If ret <> 0 Then 54 54 Return b … … 60 60 Abstract Function Seek(offset As Int64, origin As SeekOrigin) As Long 61 61 Abstract Sub SetLength(value As Int64) 62 Abstract Sub Write( ByRef buffer[] AsByte, offset As Long, count As Long)62 Abstract Sub Write(buffer As *Byte, offset As Long, count As Long) 63 63 64 64 Virtual Sub WriteByte(b As Byte) 65 Write( b, 0, 1)65 Write(VarPtr(b), 0, 1) 66 66 End Sub 67 67 Protected
Note:
See TracChangeset
for help on using the changeset viewer.