The OpenD Programming Language

deserializeValueImpl

Deserialize boolean value

Examples

import mir.ion.value;
import mir.ion.exception;

auto data = IonValue([0x11]).describe;
bool value;
assert(deserializeValueImpl(data, value) == IonErrorCode.none);
assert(value);

Meta