Back to Aurora Vision Library website
You are here: Start » Function Reference » System » Binary Data » LoadBuffer
| Header: | STD.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationLite |
Reads bytes from a file and returns them as a bytes buffer.
Syntax
void avl::LoadBuffer ( const atl::File& inFile, avl::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. |


