Back to Adaptive Vision Library Lite website
You are here: Start » Binary Data » LoadBuffer
![](../../img/icon/LoadObject.png)
LoadBuffer
Header: | STD.h |
---|---|
Namespace: | avl |
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. |