Back to Adaptive Vision Library website

You are here: Start » Function Reference » Binary Data » LoadBuffer

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.