bfcodec 0.0.4
Tools and a C/C++ library to manipulate BFCodec-encrypted content
Loading...
Searching...
No Matches
Classes | Enumerations
bfcodecpp.h File Reference
#include <cstddef>
#include <expected>
#include <span>
#include <string>
#include "bfcodec.h"
Include dependency graph for bfcodecpp.h:

Go to the source code of this file.

Classes

class  BFCodec
 C++23 wrapper around the bfcodec C library. More...
 

Enumerations

enum class  BFCodecError { InitFailed , InvalidCodec , DataSizeNotMultipleOf8 }
 

Enumeration Type Documentation

◆ BFCodecError

enum class BFCodecError
strong

Error codes for BFCodec operations.

Enumerator
InitFailed 

bfcodec_init() failed (e.g. allocation failure).

InvalidCodec 

Codec instance is invalid (e.g. moved-from).

DataSizeNotMultipleOf8 

Data length is not a multiple of 8 bytes.