[]
Constructor. Always needs a size for the buffer.
public BEBufferedRandomAccessFile(object file, string mode, int bufferSize)
Type | Name | Description |
---|---|---|
object | file | The file associated with the buffer |
string | 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). |
int | bufferSize | The number of bytes to buffer |
Constructor. Uses the default value for the byte-buffer size (512 bytes).
public BEBufferedRandomAccessFile(object file, string mode)
Type | Name | Description |
---|---|---|
object | file | The file associated with the buffer |
string | 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). |
Constructor. Always needs a size for the buffer.
public BEBufferedRandomAccessFile(string name, string mode, int bufferSize)
Type | Name | Description |
---|---|---|
string | name | The name of the file associated with the buffer |
string | 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). |
int | bufferSize | The number of bytes to buffer |
Constructor. Uses the default value for the byte-buffer size (512 bytes).
public BEBufferedRandomAccessFile(string name, string mode)
Type | Name | Description |
---|---|---|
string | name | The name of the file associated with the buffer |
string | 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). |