Module: CBOR
- Defined in:
- lib/cbor/version.rb,
ext/cbor/rbinit.c
Defined Under Namespace
Classes: Buffer, MalformedFormatError, Packer, StackError, TypeError, UnpackError, Unpacker
Constant Summary
collapse
- VERSION =
"0.5.9.8"
- Tagged =
rb_cCBOR_Tagged
- Simple =
rb_cCBOR_Simple
Class Method Summary
collapse
Class Method Details
.decode(*args) ⇒ Object
382
383
384
385
386
|
# File 'ext/cbor/unpacker_class.c', line 382
static VALUE MessagePack_unpack_module_method(int argc, VALUE* argv, VALUE mod)
{
UNUSED(mod);
return MessagePack_unpack(argc, argv);
}
|
.dump(*args) ⇒ Object
252
253
254
255
256
|
# File 'ext/cbor/packer_class.c', line 252
static VALUE MessagePack_dump_module_method(int argc, VALUE* argv, VALUE mod)
{
UNUSED(mod);
return MessagePack_pack(argc, argv);
}
|
.encode(*args) ⇒ Object
258
259
260
261
262
|
# File 'ext/cbor/packer_class.c', line 258
static VALUE MessagePack_pack_module_method(int argc, VALUE* argv, VALUE mod)
{
UNUSED(mod);
return MessagePack_pack(argc, argv);
}
|
.load(*args) ⇒ Object
376
377
378
379
380
|
# File 'ext/cbor/unpacker_class.c', line 376
static VALUE MessagePack_load_module_method(int argc, VALUE* argv, VALUE mod)
{
UNUSED(mod);
return MessagePack_unpack(argc, argv);
}
|
.pack(*args) ⇒ Object
258
259
260
261
262
|
# File 'ext/cbor/packer_class.c', line 258
static VALUE MessagePack_pack_module_method(int argc, VALUE* argv, VALUE mod)
{
UNUSED(mod);
return MessagePack_pack(argc, argv);
}
|
.unpack(*args) ⇒ Object
382
383
384
385
386
|
# File 'ext/cbor/unpacker_class.c', line 382
static VALUE MessagePack_unpack_module_method(int argc, VALUE* argv, VALUE mod)
{
UNUSED(mod);
return MessagePack_unpack(argc, argv);
}
|