Back to Adaptive Vision Library website
You are here: Start » Function Reference » Binary Data » LoadBuffer
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
Error type | Description |
---|---|
IoError | File is too large for byte buffer. |