The OpenD Programming Language

deserializeValueImpl

Deserialize ascii value from ion string.

Examples

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

auto data = IonValue([0x81, 'b']).describe;
char value;

assert(deserializeValueImpl(data, value) == IonErrorCode.none);
assert(value == 'b');

Meta