Module: CBOR::LibCBOR
- Extended by:
- FFI::Library
- Defined in:
- lib/libcbor/inner/lib_cbor.rb
Overview
Provides low-level binding for the native functions
Defined Under Namespace
Classes: CborCallbacks, CborDecoderResult, CborError, CborLoadResult, CborPair
Constant Summary collapse
- CborItemTRef =
The cbor_item_t * handle type
typedef :pointer, :cbor_item_t_ref
- Type =
The CBOR types enum mapping
enum(:uint, :negint, :bytestring, :string, :array, :map, :tag, :float_ctrl)
- ErrorCode =
Possible error codes for the
cbor_error
enum(:none, :notenoughdata, :nodata, :malformated, :memerror, :syntaxerror)
- DecoderStatus =
High-level decoder status enum mapping
enum(:finished, :not_enough_data, :buffer_error, :error)