loadBytes()

Input / Files

Description

Reads the contents of a file into a vector of bytes.

Syntax

std::vector loadBytes(std::string path)

Parameters

NameTypeDescription
pathstd::stringpath to the file

Returns

std::vector

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...