ComponentOne PDF for .NET
CSJ2K.j2k.io Namespace / BEBufferedRandomAccessFile Class / BEBufferedRandomAccessFile Constructor / BEBufferedRandomAccessFile Constructor(Object,String,Int32)
The file associated with the buffer
"r" for read, "rw" or "rw+" for read and write mode ("rw+" opens the file for update whereas "rw" removes it before. So the 2 modes are different only if the file already exists).
The number of bytes to buffer

In This Topic
    BEBufferedRandomAccessFile Constructor(Object,String,Int32)
    In This Topic
    Constructor. Always needs a size for the buffer.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal file As Object, _
       ByVal mode As String, _
       ByVal bufferSize As Integer _
    )
    public BEBufferedRandomAccessFile( 
       object file,
       string mode,
       int bufferSize
    )

    Parameters

    file
    The file associated with the buffer
    mode
    "r" for read, "rw" or "rw+" for read and write mode ("rw+" opens the file for update whereas "rw" removes it before. So the 2 modes are different only if the file already exists).
    bufferSize
    The number of bytes to buffer
    Exceptions
    ExceptionDescription
    If an I/O error ocurred.
    See Also