static immutable ubyte[] data = [0xe0, 0x01, 0x00, 0xea, 0xe9, 0x81, 0x83, 0xd6, 0x87, 0xb4, 0x81, 0x61, 0x81, 0x62, 0xd6, 0x8a, 0x21, 0x01, 0x8b, 0x21, 0x02]; assert(data.ion2text == `{a:1,b:2}`); // static assert(data.ion2text == `{a:1,b:2}`);
static immutable ubyte[] data = [0xe0, 0x01, 0x00, 0xea, 0xea, 0x81, 0x83, 0xde, 0x86, 0x87, 0xb4, 0x83, 0x55, 0x53, 0x44, 0xe6, 0x81, 0x8a, 0x53, 0xc1, 0x04, 0xd2]; assert(data.ion2text == `USD::123.4`); // static assert(data.ion2text == `USD::123.4`);
Converts Ion Value Stream data to text.
The function performs data.IonValueStream.serializeText.