Ignore:
Timestamp:
Sep 22, 2007, 12:32:25 PM (17 years ago)
Author:
dai
Message:

index.abを一つにまとめた。

Location:
trunk/Include/Classes/System/IO
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/IO/Directory.ab

    r327 r337  
    2626    End Function
    2727
    28     Static Function GetAccessControl(path As String, includeSections As AccessControlSections) As DirectorySecurity
     28    Static Function GetAccessControl(path As String, includeSections As System.Security.AccessControl.AccessControlSections) As DirectorySecurity
    2929    End Function
    3030
  • trunk/Include/Classes/System/IO/FileStream.ab

    r336 r337  
    297297    End Sub
    298298
    299     Override Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long
     299    Override Function Read( buffer As *Byte, offset As Long, count As Long) As Long
    300300        If This.CanRead() Then
    301301            Dim ret As DWord
     
    316316    End Function
    317317
    318     Override Function ReadByte() As Long
    319         Dim b As Byte
    320         Dim ret = Read(b, 0, 1)
    321         If ret <> 0 Then
    322             Return b As Long
    323         Else
    324             Return -1
    325         End If
    326     End Function
    327318/*  ReferenceEquals*/
    328319
     
    388379    End Sub
    389380
    390     Override Sub Write(ByRef buffer[] As Byte, offset As Long, count As Long)
     381    Override Sub Write(buffer As *Byte, offset As Long, count As Long)
    391382        If This.CanWrite() Then
    392383            Dim ret As DWord
     
    405396    End Sub
    406397
    407     Override Sub WriteByte(b As Byte)
    408         Write(b, 0, 1)
    409     End Sub
    410 
    411398Protected
    412399    Override Function CreateWaitHandle() As System.Threading.WaitHandle
  • trunk/Include/Classes/System/IO/Stream.ab

    r271 r337  
    4646    Virtual Sub EndWrite(ByRef asyncResult As System.IAsyncResult): End Sub
    4747    Abstract Sub Flush()
    48     Abstract Function Read(ByRef buffer[] As Byte, offset As Long, count As Long) As Long
     48    Abstract Function Read(buffer As *Byte, offset As Long, count As Long) As Long
    4949
    5050    Virtual Function ReadByte() As Long
    5151        Dim b As Byte
    52         Dim ret = Read(b, 0, 1)
     52        Dim ret = Read(VarPtr(b), 0, 1)
    5353        If ret <> 0 Then
    5454            Return b
     
    6060    Abstract Function Seek(offset As Int64, origin As SeekOrigin) As Long
    6161    Abstract Sub SetLength(value As Int64)
    62     Abstract Sub Write(ByRef buffer[] As Byte, offset As Long, count As Long)
     62    Abstract Sub Write(buffer As *Byte, offset As Long, count As Long)
    6363
    6464    Virtual Sub WriteByte(b As Byte)
    65         Write(b, 0, 1)
     65        Write(VarPtr(b), 0, 1)
    6666    End Sub
    6767Protected
Note: See TracChangeset for help on using the changeset viewer.