Ice Dump
Encode and decode ZeroC Ice values manually into Ice binary format.
Installation
npm install ice-dump
Usage
Serializing instances of Ice.Value:
; const buffer = ; // Uint8Array const readValue = ;
Using Sliced format:
; const buffer = ;
If you need to deal with proxies, pass Communicator
as a second parameter to
bufferToValue
.
To serialize structs, sequences or dictionaries you must provide Ice type name
in form MyModule.MySeq
or ::MyModule::MySeq
:
; const buffer = ; // Uint8Array const readSequence = ;