The OpenD Programming Language

deserializeValueImpl

Deserialize Blob value.

Examples

import mir.deser.ion : deserializeIon;
import mir.lob : Blob;
import mir.ser.ion : serializeIon;

static struct BlobWrapper { Blob blob; }
auto blob = BlobWrapper(Blob([0xF0, 0x00, 0xBA, 0x50]));
auto serdeBlob = serializeIon(blob).deserializeIon!BlobWrapper;
assert(serdeBlob == blob);

Meta