bool: DataConverter<boolean> = ...

Converter for boolean values.

A boolean is represented as uint8 where true is 1 and false is 0.

Example:

const buf = ccfapp.bool.encode(true); // ArrayBuffer of size 1
const val = ccfapp.bool.decode(buf); // boolean