struct MessagePack::Copy
- MessagePack::Copy
- Struct
- Value
- Object
Overview
Fast copy msgpack objects from IO to IO, without full parse, without create temp objects
this is usefull for streaming apis
MessagePack::Copy.new(io1, io2).copy_objects(1)
This is from 40% to 700% faster than MessagePack::IOUnpacker.new(io1).read.to_msgpack(io2)
Defined in:
message_pack/copy.crConstructors
Instance Method Summary
Instance methods inherited from class Object
===(other : MessagePack::Any)
===,
to_msgpack(io : IO)to_msgpack(packer : MessagePack::Packer)
to_msgpack to_msgpack