#include <BinaryHandler.h>
Public Types | |
using | BinaryType = std::vector< std::uint8_t > |
Static Public Member Functions | |
static bool | canRead (const std::string &filename) |
Checks whether the file extension is readable. | |
static void | write (const std::string &filename, const BinaryType &binary) |
Writes binary to a file. More... | |
static BinaryType | read (const std::string &filename) |
Reads binary from a file. More... | |
Binary file IO.
|
static |
Reads binary from a file.
Complexity \(\Theta(N)\)
|
static |
Writes binary to a file.
Complexity \(\Theta(N)\)