Back to FabImage Library website
You are here: Start » Function Reference » System » Binary Data » LoadBuffer
| Header: | STD.h |
|---|---|
| Namespace: | fil |
| Module: | FoundationLite |
Reads bytes from a file and returns them as a bytes buffer.
Syntax
void fil::LoadBuffer ( const ftl::File& inFile, fil::ByteBuffer& outBuffer )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inFile | const File& | ||
![]() |
outBuffer | ByteBuffer& |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| IoError | File is too large for byte buffer. |


