FileReadBinary
Reads the contents of a file and returns it as a string or binary object
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The path to the file to read. | |
|
|
| Either the charset to use when reading the file, or the buffer size to use when reading the file. If providing a buffer size, the next argument can be the charset. | |
|
|
| The explicit charset to use when reading the file. | |
|
|
| The explicit buffer size to use when reading the file. |
Examples
Related
Last updated