blob: c1e5296e3d44118bba97f12bf5315a4029342191 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file was auto-generated by the vanadium vdl tool.
var vdl = require('../../../../../vdl');
var canonicalize = require('../../../../../vdl/canonicalize');
module.exports = {};
// Types:
var _type1 = new vdl.Type();
var _type10 = new vdl.Type();
var _type11 = new vdl.Type();
var _type12 = new vdl.Type();
var _type13 = new vdl.Type();
var _type14 = new vdl.Type();
var _type15 = new vdl.Type();
var _type16 = new vdl.Type();
var _type2 = new vdl.Type();
var _type3 = new vdl.Type();
var _type4 = new vdl.Type();
var _type5 = new vdl.Type();
var _type6 = new vdl.Type();
var _type7 = new vdl.Type();
var _type8 = new vdl.Type();
var _type9 = new vdl.Type();
var _typeAbcStruct = new vdl.Type();
var _typeAdeStruct = new vdl.Type();
var _typeArray3String = new vdl.Type();
var _typeArray4String = new vdl.Type();
var _typeBdeUnion = new vdl.Type();
var _typeBeanEnum = new vdl.Type();
var _typeBrieEnum = new vdl.Type();
var _typeConvertGroup = new vdl.Type();
var _typeFoodEnum = new vdl.Type();
var _typeListString = new vdl.Type();
var _typeMBool = new vdl.Type();
var _typeMList = new vdl.Type();
var _typeMMap = new vdl.Type();
var _typeMStruct = new vdl.Type();
var _typeMapOnlyA = new vdl.Type();
var _typeMapOnlyA2 = new vdl.Type();
var _typeMapOnlyB = new vdl.Type();
var _typeMapOnlyB2 = new vdl.Type();
var _typeMapOnlySet = new vdl.Type();
var _typeMapOnlyStruct = new vdl.Type();
var _typeMapSetStruct = new vdl.Type();
var _typeMapStructSet = new vdl.Type();
var _typeNArray2Uint64 = new vdl.Type();
var _typeNBool = new vdl.Type();
var _typeNByte = new vdl.Type();
var _typeNByteArray = new vdl.Type();
var _typeNByteSlice = new vdl.Type();
var _typeNComplex128 = new vdl.Type();
var _typeNComplex64 = new vdl.Type();
var _typeNEnum = new vdl.Type();
var _typeNFloat32 = new vdl.Type();
var _typeNFloat64 = new vdl.Type();
var _typeNInt16 = new vdl.Type();
var _typeNInt32 = new vdl.Type();
var _typeNInt64 = new vdl.Type();
var _typeNListUint64 = new vdl.Type();
var _typeNMapUint64String = new vdl.Type();
var _typeNSetUint64 = new vdl.Type();
var _typeNString = new vdl.Type();
var _typeNStruct = new vdl.Type();
var _typeNUint16 = new vdl.Type();
var _typeNUint32 = new vdl.Type();
var _typeNUint64 = new vdl.Type();
var _typeNUnion = new vdl.Type();
var _typeRecA = new vdl.Type();
var _typeRecStruct = new vdl.Type();
var _typeRecX = new vdl.Type();
var _typeRecY = new vdl.Type();
var _typeSetOnlyA = new vdl.Type();
var _typeSetOnlyA2 = new vdl.Type();
var _typeSetOnlyB = new vdl.Type();
var _typeSetOnlyB2 = new vdl.Type();
var _typeSetOnlyMap = new vdl.Type();
var _typeSetStructMap = new vdl.Type();
var _typeSometimesSetMap = new vdl.Type();
var _typeStructAny = new vdl.Type();
var _typeStructMap = new vdl.Type();
var _typeStructOnlyMap = new vdl.Type();
var _typeTestCase = new vdl.Type();
var _typeVomdataStruct = new vdl.Type();
var _typeXyzStruct = new vdl.Type();
var _typeYzStruct = new vdl.Type();
var _typeZStruct = new vdl.Type();
_type1.kind = vdl.kind.LIST;
_type1.name = "";
_type1.elem = _typeTestCase;
_type10.kind = vdl.kind.MAP;
_type10.name = "";
_type10.elem = _type11;
_type10.key = vdl.types.STRING;
_type11.kind = vdl.kind.LIST;
_type11.name = "";
_type11.elem = vdl.types.TYPEOBJECT;
_type12.kind = vdl.kind.LIST;
_type12.name = "";
_type12.elem = vdl.types.INT32;
_type13.kind = vdl.kind.LIST;
_type13.name = "";
_type13.elem = vdl.types.STRING;
_type14.kind = vdl.kind.MAP;
_type14.name = "";
_type14.elem = _type15;
_type14.key = vdl.types.STRING;
_type15.kind = vdl.kind.LIST;
_type15.name = "";
_type15.elem = _typeConvertGroup;
_type16.kind = vdl.kind.LIST;
_type16.name = "";
_type16.elem = vdl.types.ANY;
_type2.kind = vdl.kind.LIST;
_type2.name = "";
_type2.elem = vdl.types.BYTE;
_type3.kind = vdl.kind.LIST;
_type3.name = "";
_type3.elem = vdl.types.UINT64;
_type4.kind = vdl.kind.SET;
_type4.name = "";
_type4.key = vdl.types.UINT64;
_type5.kind = vdl.kind.MAP;
_type5.name = "";
_type5.elem = vdl.types.STRING;
_type5.key = vdl.types.UINT64;
_type6.kind = vdl.kind.OPTIONAL;
_type6.name = "";
_type6.elem = _typeNStruct;
_type7.kind = vdl.kind.OPTIONAL;
_type7.name = "";
_type7.elem = _typeRecStruct;
_type8.kind = vdl.kind.MAP;
_type8.name = "";
_type8.elem = vdl.types.INT64;
_type8.key = vdl.types.INT64;
_type9.kind = vdl.kind.OPTIONAL;
_type9.name = "";
_type9.elem = _typeStructAny;
_typeAbcStruct.kind = vdl.kind.STRUCT;
_typeAbcStruct.name = "v.io/v23/vom/testdata.AbcStruct";
_typeAbcStruct.fields = [{name: "A", type: vdl.types.BOOL}, {name: "B", type: vdl.types.STRING}, {name: "C", type: vdl.types.INT64}];
_typeAdeStruct.kind = vdl.kind.STRUCT;
_typeAdeStruct.name = "v.io/v23/vom/testdata.AdeStruct";
_typeAdeStruct.fields = [{name: "A", type: vdl.types.BOOL}, {name: "D", type: vdl.types.ANY}, {name: "E", type: vdl.types.TYPEOBJECT}];
_typeArray3String.kind = vdl.kind.ARRAY;
_typeArray3String.name = "v.io/v23/vom/testdata.Array3String";
_typeArray3String.len = 3;
_typeArray3String.elem = vdl.types.STRING;
_typeArray4String.kind = vdl.kind.ARRAY;
_typeArray4String.name = "v.io/v23/vom/testdata.Array4String";
_typeArray4String.len = 4;
_typeArray4String.elem = vdl.types.STRING;
_typeBdeUnion.kind = vdl.kind.UNION;
_typeBdeUnion.name = "v.io/v23/vom/testdata.BdeUnion";
_typeBdeUnion.fields = [{name: "B", type: vdl.types.STRING}, {name: "D", type: vdl.types.ANY}, {name: "E", type: vdl.types.TYPEOBJECT}];
_typeBeanEnum.kind = vdl.kind.ENUM;
_typeBeanEnum.name = "v.io/v23/vom/testdata.BeanEnum";
_typeBeanEnum.labels = ["Bean"];
_typeBrieEnum.kind = vdl.kind.ENUM;
_typeBrieEnum.name = "v.io/v23/vom/testdata.BrieEnum";
_typeBrieEnum.labels = ["Glee", "Brie", "Three"];
_typeConvertGroup.kind = vdl.kind.STRUCT;
_typeConvertGroup.name = "v.io/v23/vom/testdata.ConvertGroup";
_typeConvertGroup.fields = [{name: "Name", type: vdl.types.STRING}, {name: "PrimaryType", type: vdl.types.TYPEOBJECT}, {name: "Values", type: _type16}];
_typeFoodEnum.kind = vdl.kind.ENUM;
_typeFoodEnum.name = "v.io/v23/vom/testdata.FoodEnum";
_typeFoodEnum.labels = ["Bean", "Brie", "Cherry"];
_typeListString.kind = vdl.kind.LIST;
_typeListString.name = "v.io/v23/vom/testdata.ListString";
_typeListString.elem = vdl.types.STRING;
_typeMBool.kind = vdl.kind.BOOL;
_typeMBool.name = "v.io/v23/vom/testdata.MBool";
_typeMList.kind = vdl.kind.LIST;
_typeMList.name = "v.io/v23/vom/testdata.MList";
_typeMList.elem = _typeNListUint64;
_typeMMap.kind = vdl.kind.MAP;
_typeMMap.name = "v.io/v23/vom/testdata.MMap";
_typeMMap.elem = _typeNListUint64;
_typeMMap.key = _typeNFloat32;
_typeMStruct.kind = vdl.kind.STRUCT;
_typeMStruct.name = "v.io/v23/vom/testdata.MStruct";
_typeMStruct.fields = [{name: "A", type: vdl.types.BOOL}, {name: "B", type: _typeNBool}, {name: "C", type: _typeMBool}, {name: "D", type: _type6}, {name: "E", type: vdl.types.TYPEOBJECT}, {name: "F", type: vdl.types.ANY}];
_typeMapOnlyA.kind = vdl.kind.MAP;
_typeMapOnlyA.name = "v.io/v23/vom/testdata.MapOnlyA";
_typeMapOnlyA.elem = vdl.types.UINT32;
_typeMapOnlyA.key = vdl.types.UINT32;
_typeMapOnlyA2.kind = vdl.kind.MAP;
_typeMapOnlyA2.name = "v.io/v23/vom/testdata.MapOnlyA2";
_typeMapOnlyA2.elem = vdl.types.FLOAT64;
_typeMapOnlyA2.key = vdl.types.INT64;
_typeMapOnlyB.kind = vdl.kind.MAP;
_typeMapOnlyB.name = "v.io/v23/vom/testdata.MapOnlyB";
_typeMapOnlyB.elem = vdl.types.STRING;
_typeMapOnlyB.key = vdl.types.BOOL;
_typeMapOnlyB2.kind = vdl.kind.MAP;
_typeMapOnlyB2.name = "v.io/v23/vom/testdata.MapOnlyB2";
_typeMapOnlyB2.elem = _typeNString;
_typeMapOnlyB2.key = _typeNBool;
_typeMapOnlySet.kind = vdl.kind.SET;
_typeMapOnlySet.name = "v.io/v23/vom/testdata.MapOnlySet";
_typeMapOnlySet.key = vdl.types.FLOAT64;
_typeMapOnlyStruct.kind = vdl.kind.STRUCT;
_typeMapOnlyStruct.name = "v.io/v23/vom/testdata.MapOnlyStruct";
_typeMapOnlyStruct.fields = [{name: "Key1", type: vdl.types.INT64}, {name: "Key2", type: vdl.types.UINT32}, {name: "Key3", type: vdl.types.COMPLEX128}];
_typeMapSetStruct.kind = vdl.kind.STRUCT;
_typeMapSetStruct.name = "v.io/v23/vom/testdata.MapSetStruct";
_typeMapSetStruct.fields = [{name: "Feat", type: vdl.types.BOOL}, {name: "Tire", type: vdl.types.BOOL}, {name: "Eel", type: vdl.types.BOOL}];
_typeMapStructSet.kind = vdl.kind.SET;
_typeMapStructSet.name = "v.io/v23/vom/testdata.MapStructSet";
_typeMapStructSet.key = vdl.types.STRING;
_typeNArray2Uint64.kind = vdl.kind.ARRAY;
_typeNArray2Uint64.name = "v.io/v23/vom/testdata.NArray2Uint64";
_typeNArray2Uint64.len = 2;
_typeNArray2Uint64.elem = vdl.types.UINT64;
_typeNBool.kind = vdl.kind.BOOL;
_typeNBool.name = "v.io/v23/vom/testdata.NBool";
_typeNByte.kind = vdl.kind.BYTE;
_typeNByte.name = "v.io/v23/vom/testdata.NByte";
_typeNByteArray.kind = vdl.kind.ARRAY;
_typeNByteArray.name = "v.io/v23/vom/testdata.NByteArray";
_typeNByteArray.len = 4;
_typeNByteArray.elem = vdl.types.BYTE;
_typeNByteSlice.kind = vdl.kind.LIST;
_typeNByteSlice.name = "v.io/v23/vom/testdata.NByteSlice";
_typeNByteSlice.elem = vdl.types.BYTE;
_typeNComplex128.kind = vdl.kind.COMPLEX128;
_typeNComplex128.name = "v.io/v23/vom/testdata.NComplex128";
_typeNComplex64.kind = vdl.kind.COMPLEX64;
_typeNComplex64.name = "v.io/v23/vom/testdata.NComplex64";
_typeNEnum.kind = vdl.kind.ENUM;
_typeNEnum.name = "v.io/v23/vom/testdata.NEnum";
_typeNEnum.labels = ["A", "B", "C"];
_typeNFloat32.kind = vdl.kind.FLOAT32;
_typeNFloat32.name = "v.io/v23/vom/testdata.NFloat32";
_typeNFloat64.kind = vdl.kind.FLOAT64;
_typeNFloat64.name = "v.io/v23/vom/testdata.NFloat64";
_typeNInt16.kind = vdl.kind.INT16;
_typeNInt16.name = "v.io/v23/vom/testdata.NInt16";
_typeNInt32.kind = vdl.kind.INT32;
_typeNInt32.name = "v.io/v23/vom/testdata.NInt32";
_typeNInt64.kind = vdl.kind.INT64;
_typeNInt64.name = "v.io/v23/vom/testdata.NInt64";
_typeNListUint64.kind = vdl.kind.LIST;
_typeNListUint64.name = "v.io/v23/vom/testdata.NListUint64";
_typeNListUint64.elem = vdl.types.UINT64;
_typeNMapUint64String.kind = vdl.kind.MAP;
_typeNMapUint64String.name = "v.io/v23/vom/testdata.NMapUint64String";
_typeNMapUint64String.elem = vdl.types.STRING;
_typeNMapUint64String.key = vdl.types.UINT64;
_typeNSetUint64.kind = vdl.kind.SET;
_typeNSetUint64.name = "v.io/v23/vom/testdata.NSetUint64";
_typeNSetUint64.key = vdl.types.UINT64;
_typeNString.kind = vdl.kind.STRING;
_typeNString.name = "v.io/v23/vom/testdata.NString";
_typeNStruct.kind = vdl.kind.STRUCT;
_typeNStruct.name = "v.io/v23/vom/testdata.NStruct";
_typeNStruct.fields = [{name: "A", type: vdl.types.BOOL}, {name: "B", type: vdl.types.STRING}, {name: "C", type: vdl.types.INT64}];
_typeNUint16.kind = vdl.kind.UINT16;
_typeNUint16.name = "v.io/v23/vom/testdata.NUint16";
_typeNUint32.kind = vdl.kind.UINT32;
_typeNUint32.name = "v.io/v23/vom/testdata.NUint32";
_typeNUint64.kind = vdl.kind.UINT64;
_typeNUint64.name = "v.io/v23/vom/testdata.NUint64";
_typeNUnion.kind = vdl.kind.UNION;
_typeNUnion.name = "v.io/v23/vom/testdata.NUnion";
_typeNUnion.fields = [{name: "A", type: vdl.types.BOOL}, {name: "B", type: vdl.types.STRING}, {name: "C", type: vdl.types.INT64}];
_typeRecA.kind = vdl.kind.LIST;
_typeRecA.name = "v.io/v23/vom/testdata.RecA";
_typeRecA.elem = _typeRecA;
_typeRecStruct.kind = vdl.kind.STRUCT;
_typeRecStruct.name = "v.io/v23/vom/testdata.RecStruct";
_typeRecStruct.fields = [{name: "A", type: _type7}];
_typeRecX.kind = vdl.kind.LIST;
_typeRecX.name = "v.io/v23/vom/testdata.RecX";
_typeRecX.elem = _typeRecY;
_typeRecY.kind = vdl.kind.LIST;
_typeRecY.name = "v.io/v23/vom/testdata.RecY";
_typeRecY.elem = _typeRecX;
_typeSetOnlyA.kind = vdl.kind.SET;
_typeSetOnlyA.name = "v.io/v23/vom/testdata.SetOnlyA";
_typeSetOnlyA.key = vdl.types.BOOL;
_typeSetOnlyA2.kind = vdl.kind.SET;
_typeSetOnlyA2.name = "v.io/v23/vom/testdata.SetOnlyA2";
_typeSetOnlyA2.key = _typeNBool;
_typeSetOnlyB.kind = vdl.kind.SET;
_typeSetOnlyB.name = "v.io/v23/vom/testdata.SetOnlyB";
_typeSetOnlyB.key = vdl.types.INT16;
_typeSetOnlyB2.kind = vdl.kind.SET;
_typeSetOnlyB2.name = "v.io/v23/vom/testdata.SetOnlyB2";
_typeSetOnlyB2.key = _typeNInt16;
_typeSetOnlyMap.kind = vdl.kind.MAP;
_typeSetOnlyMap.name = "v.io/v23/vom/testdata.SetOnlyMap";
_typeSetOnlyMap.elem = vdl.types.BOOL;
_typeSetOnlyMap.key = vdl.types.FLOAT64;
_typeSetStructMap.kind = vdl.kind.MAP;
_typeSetStructMap.name = "v.io/v23/vom/testdata.SetStructMap";
_typeSetStructMap.elem = vdl.types.BOOL;
_typeSetStructMap.key = vdl.types.STRING;
_typeSometimesSetMap.kind = vdl.kind.MAP;
_typeSometimesSetMap.name = "v.io/v23/vom/testdata.SometimesSetMap";
_typeSometimesSetMap.elem = vdl.types.ANY;
_typeSometimesSetMap.key = vdl.types.FLOAT64;
_typeStructAny.kind = vdl.kind.STRUCT;
_typeStructAny.name = "v.io/v23/vom/testdata.StructAny";
_typeStructAny.fields = [{name: "Any", type: vdl.types.ANY}];
_typeStructMap.kind = vdl.kind.STRUCT;
_typeStructMap.name = "v.io/v23/vom/testdata.StructMap";
_typeStructMap.fields = [{name: "Map", type: _type8}];
_typeStructOnlyMap.kind = vdl.kind.MAP;
_typeStructOnlyMap.name = "v.io/v23/vom/testdata.StructOnlyMap";
_typeStructOnlyMap.elem = vdl.types.UINT64;
_typeStructOnlyMap.key = vdl.types.STRING;
_typeTestCase.kind = vdl.kind.STRUCT;
_typeTestCase.name = "v.io/v23/vom/testdata.TestCase";
_typeTestCase.fields = [{name: "Name", type: vdl.types.STRING}, {name: "Value", type: vdl.types.ANY}, {name: "TypeString", type: vdl.types.STRING}, {name: "Hex", type: vdl.types.STRING}, {name: "HexVersion", type: vdl.types.STRING}, {name: "HexType", type: vdl.types.STRING}, {name: "HexValue", type: vdl.types.STRING}];
_typeVomdataStruct.kind = vdl.kind.STRUCT;
_typeVomdataStruct.name = "v.io/v23/vom/testdata.VomdataStruct";
_typeVomdataStruct.fields = [{name: "EncodeDecodeData", type: _type16}, {name: "CompatData", type: _type10}, {name: "ConvertData", type: _type14}];
_typeXyzStruct.kind = vdl.kind.STRUCT;
_typeXyzStruct.name = "v.io/v23/vom/testdata.XyzStruct";
_typeXyzStruct.fields = [{name: "X", type: vdl.types.BOOL}, {name: "Y", type: _typeMBool}, {name: "Z", type: vdl.types.STRING}];
_typeYzStruct.kind = vdl.kind.STRUCT;
_typeYzStruct.name = "v.io/v23/vom/testdata.YzStruct";
_typeYzStruct.fields = [{name: "Y", type: _typeNBool}, {name: "Z", type: _typeNString}];
_typeZStruct.kind = vdl.kind.STRUCT;
_typeZStruct.name = "v.io/v23/vom/testdata.ZStruct";
_typeZStruct.fields = [{name: "Z", type: vdl.types.STRING}];
_type1.freeze();
_type10.freeze();
_type11.freeze();
_type12.freeze();
_type13.freeze();
_type14.freeze();
_type15.freeze();
_type16.freeze();
_type2.freeze();
_type3.freeze();
_type4.freeze();
_type5.freeze();
_type6.freeze();
_type7.freeze();
_type8.freeze();
_type9.freeze();
_typeAbcStruct.freeze();
_typeAdeStruct.freeze();
_typeArray3String.freeze();
_typeArray4String.freeze();
_typeBdeUnion.freeze();
_typeBeanEnum.freeze();
_typeBrieEnum.freeze();
_typeConvertGroup.freeze();
_typeFoodEnum.freeze();
_typeListString.freeze();
_typeMBool.freeze();
_typeMList.freeze();
_typeMMap.freeze();
_typeMStruct.freeze();
_typeMapOnlyA.freeze();
_typeMapOnlyA2.freeze();
_typeMapOnlyB.freeze();
_typeMapOnlyB2.freeze();
_typeMapOnlySet.freeze();
_typeMapOnlyStruct.freeze();
_typeMapSetStruct.freeze();
_typeMapStructSet.freeze();
_typeNArray2Uint64.freeze();
_typeNBool.freeze();
_typeNByte.freeze();
_typeNByteArray.freeze();
_typeNByteSlice.freeze();
_typeNComplex128.freeze();
_typeNComplex64.freeze();
_typeNEnum.freeze();
_typeNFloat32.freeze();
_typeNFloat64.freeze();
_typeNInt16.freeze();
_typeNInt32.freeze();
_typeNInt64.freeze();
_typeNListUint64.freeze();
_typeNMapUint64String.freeze();
_typeNSetUint64.freeze();
_typeNString.freeze();
_typeNStruct.freeze();
_typeNUint16.freeze();
_typeNUint32.freeze();
_typeNUint64.freeze();
_typeNUnion.freeze();
_typeRecA.freeze();
_typeRecStruct.freeze();
_typeRecX.freeze();
_typeRecY.freeze();
_typeSetOnlyA.freeze();
_typeSetOnlyA2.freeze();
_typeSetOnlyB.freeze();
_typeSetOnlyB2.freeze();
_typeSetOnlyMap.freeze();
_typeSetStructMap.freeze();
_typeSometimesSetMap.freeze();
_typeStructAny.freeze();
_typeStructMap.freeze();
_typeStructOnlyMap.freeze();
_typeTestCase.freeze();
_typeVomdataStruct.freeze();
_typeXyzStruct.freeze();
_typeYzStruct.freeze();
_typeZStruct.freeze();
module.exports.AbcStruct = (vdl.registry.lookupOrCreateConstructor(_typeAbcStruct));
module.exports.AdeStruct = (vdl.registry.lookupOrCreateConstructor(_typeAdeStruct));
module.exports.Array3String = (vdl.registry.lookupOrCreateConstructor(_typeArray3String));
module.exports.Array4String = (vdl.registry.lookupOrCreateConstructor(_typeArray4String));
module.exports.BdeUnion = (vdl.registry.lookupOrCreateConstructor(_typeBdeUnion));
module.exports.BeanEnum = {
BEAN: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBeanEnum))('Bean', true), _typeBeanEnum),
};
module.exports.BrieEnum = {
GLEE: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBrieEnum))('Glee', true), _typeBrieEnum),
BRIE: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBrieEnum))('Brie', true), _typeBrieEnum),
THREE: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBrieEnum))('Three', true), _typeBrieEnum),
};
module.exports.ConvertGroup = (vdl.registry.lookupOrCreateConstructor(_typeConvertGroup));
module.exports.FoodEnum = {
BEAN: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeFoodEnum))('Bean', true), _typeFoodEnum),
BRIE: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeFoodEnum))('Brie', true), _typeFoodEnum),
CHERRY: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeFoodEnum))('Cherry', true), _typeFoodEnum),
};
module.exports.ListString = (vdl.registry.lookupOrCreateConstructor(_typeListString));
module.exports.MBool = (vdl.registry.lookupOrCreateConstructor(_typeMBool));
module.exports.MList = (vdl.registry.lookupOrCreateConstructor(_typeMList));
module.exports.MMap = (vdl.registry.lookupOrCreateConstructor(_typeMMap));
module.exports.MStruct = (vdl.registry.lookupOrCreateConstructor(_typeMStruct));
module.exports.MapOnlyA = (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyA));
module.exports.MapOnlyA2 = (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyA2));
module.exports.MapOnlyB = (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyB));
module.exports.MapOnlyB2 = (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyB2));
module.exports.MapOnlySet = (vdl.registry.lookupOrCreateConstructor(_typeMapOnlySet));
module.exports.MapOnlyStruct = (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyStruct));
module.exports.MapSetStruct = (vdl.registry.lookupOrCreateConstructor(_typeMapSetStruct));
module.exports.MapStructSet = (vdl.registry.lookupOrCreateConstructor(_typeMapStructSet));
module.exports.NArray2Uint64 = (vdl.registry.lookupOrCreateConstructor(_typeNArray2Uint64));
module.exports.NBool = (vdl.registry.lookupOrCreateConstructor(_typeNBool));
module.exports.NByte = (vdl.registry.lookupOrCreateConstructor(_typeNByte));
module.exports.NByteArray = (vdl.registry.lookupOrCreateConstructor(_typeNByteArray));
module.exports.NByteSlice = (vdl.registry.lookupOrCreateConstructor(_typeNByteSlice));
module.exports.NComplex128 = (vdl.registry.lookupOrCreateConstructor(_typeNComplex128));
module.exports.NComplex64 = (vdl.registry.lookupOrCreateConstructor(_typeNComplex64));
module.exports.NEnum = {
A: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('A', true), _typeNEnum),
B: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('B', true), _typeNEnum),
C: canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('C', true), _typeNEnum),
};
module.exports.NFloat32 = (vdl.registry.lookupOrCreateConstructor(_typeNFloat32));
module.exports.NFloat64 = (vdl.registry.lookupOrCreateConstructor(_typeNFloat64));
module.exports.NInt16 = (vdl.registry.lookupOrCreateConstructor(_typeNInt16));
module.exports.NInt32 = (vdl.registry.lookupOrCreateConstructor(_typeNInt32));
module.exports.NInt64 = (vdl.registry.lookupOrCreateConstructor(_typeNInt64));
module.exports.NListUint64 = (vdl.registry.lookupOrCreateConstructor(_typeNListUint64));
module.exports.NMapUint64String = (vdl.registry.lookupOrCreateConstructor(_typeNMapUint64String));
module.exports.NSetUint64 = (vdl.registry.lookupOrCreateConstructor(_typeNSetUint64));
module.exports.NString = (vdl.registry.lookupOrCreateConstructor(_typeNString));
module.exports.NStruct = (vdl.registry.lookupOrCreateConstructor(_typeNStruct));
module.exports.NUint16 = (vdl.registry.lookupOrCreateConstructor(_typeNUint16));
module.exports.NUint32 = (vdl.registry.lookupOrCreateConstructor(_typeNUint32));
module.exports.NUint64 = (vdl.registry.lookupOrCreateConstructor(_typeNUint64));
module.exports.NUnion = (vdl.registry.lookupOrCreateConstructor(_typeNUnion));
module.exports.RecA = (vdl.registry.lookupOrCreateConstructor(_typeRecA));
module.exports.RecStruct = (vdl.registry.lookupOrCreateConstructor(_typeRecStruct));
module.exports.RecX = (vdl.registry.lookupOrCreateConstructor(_typeRecX));
module.exports.RecY = (vdl.registry.lookupOrCreateConstructor(_typeRecY));
module.exports.SetOnlyA = (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyA));
module.exports.SetOnlyA2 = (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyA2));
module.exports.SetOnlyB = (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyB));
module.exports.SetOnlyB2 = (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyB2));
module.exports.SetOnlyMap = (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyMap));
module.exports.SetStructMap = (vdl.registry.lookupOrCreateConstructor(_typeSetStructMap));
module.exports.SometimesSetMap = (vdl.registry.lookupOrCreateConstructor(_typeSometimesSetMap));
module.exports.StructAny = (vdl.registry.lookupOrCreateConstructor(_typeStructAny));
module.exports.StructMap = (vdl.registry.lookupOrCreateConstructor(_typeStructMap));
module.exports.StructOnlyMap = (vdl.registry.lookupOrCreateConstructor(_typeStructOnlyMap));
module.exports.TestCase = (vdl.registry.lookupOrCreateConstructor(_typeTestCase));
module.exports.VomdataStruct = (vdl.registry.lookupOrCreateConstructor(_typeVomdataStruct));
module.exports.XyzStruct = (vdl.registry.lookupOrCreateConstructor(_typeXyzStruct));
module.exports.YzStruct = (vdl.registry.lookupOrCreateConstructor(_typeYzStruct));
module.exports.ZStruct = (vdl.registry.lookupOrCreateConstructor(_typeZStruct));
// Consts:
module.exports.Tests = canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type1))([
{
'name': "true",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(true, true), vdl.types.BOOL),
'typeString': "bool",
'hex': "800201",
'hexVersion': "80",
'hexType': "",
'hexValue': "0201",
},
{
'name': "false",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(false, true), vdl.types.BOOL),
'typeString': "bool",
'hex': "800200",
'hexVersion': "80",
'hexType': "",
'hexValue': "0200",
},
{
'name': "\"\"",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("", true), vdl.types.STRING),
'typeString': "string",
'hex': "800600",
'hexVersion': "80",
'hexType': "",
'hexValue': "0600",
},
{
'name': "\"abc\"",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("abc", true), vdl.types.STRING),
'typeString': "string",
'hex': "800603616263",
'hexVersion': "80",
'hexType': "",
'hexValue': "0603616263",
},
{
'name': "[]byte(\"\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
]), true), _type2),
'typeString': "[]byte",
'hex': "804e00",
'hexVersion': "80",
'hexType': "",
'hexValue': "4e00",
},
{
'name': "[]byte(\"\\x01\\x02\\x03\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
1,
2,
3,
]), true), _type2),
'typeString': "[]byte",
'hex': "804e03010203",
'hexVersion': "80",
'hexType': "",
'hexValue': "4e03010203",
},
{
'name': "[]byte(\"adef\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
97,
100,
101,
102,
]), true), _type2),
'typeString': "[]byte",
'hex': "804e0461646566",
'hexVersion': "80",
'hexType': "",
'hexValue': "4e0461646566",
},
{
'name': "byte(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BYTE))(0, true), vdl.types.BYTE),
'typeString': "byte",
'hex': "800400",
'hexVersion': "80",
'hexType': "",
'hexValue': "0400",
},
{
'name': "byte(127)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BYTE))(127, true), vdl.types.BYTE),
'typeString': "byte",
'hex': "80047f",
'hexVersion': "80",
'hexType': "",
'hexValue': "047f",
},
{
'name': "byte(255)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BYTE))(255, true), vdl.types.BYTE),
'typeString': "byte",
'hex': "8004ff",
'hexVersion': "80",
'hexType': "",
'hexValue': "04ff",
},
{
'name': "uint16(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(0, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "800800",
'hexVersion': "80",
'hexType': "",
'hexValue': "0800",
},
{
'name': "uint16(1)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(1, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "800801",
'hexVersion': "80",
'hexType': "",
'hexValue': "0801",
},
{
'name': "uint16(2)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(2, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "800802",
'hexVersion': "80",
'hexType': "",
'hexValue': "0802",
},
{
'name': "uint16(63)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(63, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "80083f",
'hexVersion': "80",
'hexType': "",
'hexValue': "083f",
},
{
'name': "uint16(64)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(64, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "800840",
'hexVersion': "80",
'hexType': "",
'hexValue': "0840",
},
{
'name': "uint16(127)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(127, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "80087f",
'hexVersion': "80",
'hexType': "",
'hexValue': "087f",
},
{
'name': "uint16(128)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(128, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008ff80",
'hexVersion': "80",
'hexType': "",
'hexValue': "08ff80",
},
{
'name': "uint16(255)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(255, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008ffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "08ffff",
},
{
'name': "uint16(256)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(256, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008fe0100",
'hexVersion': "80",
'hexType': "",
'hexValue': "08fe0100",
},
{
'name': "uint16(32766)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(32766, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008fe7ffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "08fe7ffe",
},
{
'name': "uint16(32767)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(32767, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008fe7fff",
'hexVersion': "80",
'hexType': "",
'hexValue': "08fe7fff",
},
{
'name': "uint16(65534)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(65534, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008fefffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "08fefffe",
},
{
'name': "uint16(65535)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(65535, true), vdl.types.UINT16),
'typeString': "uint16",
'hex': "8008feffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "08feffff",
},
{
'name': "uint32(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(0, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800a00",
'hexVersion': "80",
'hexType': "",
'hexValue': "0a00",
},
{
'name': "uint32(8388606)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(8388606, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afd7ffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afd7ffffe",
},
{
'name': "uint32(8388607)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(8388607, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afd7fffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afd7fffff",
},
{
'name': "uint32(16777214)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(16777214, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afdfffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afdfffffe",
},
{
'name': "uint32(16777215)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(16777215, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afdffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afdffffff",
},
{
'name': "uint32(2147483646)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(2147483646, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afc7ffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afc7ffffffe",
},
{
'name': "uint32(2147483647)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(2147483647, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afc7fffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afc7fffffff",
},
{
'name': "uint32(4294967294)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(4294967294, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afcfffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afcfffffffe",
},
{
'name': "uint32(4294967295)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT32))(4294967295, true), vdl.types.UINT32),
'typeString': "uint32",
'hex': "800afcffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0afcffffffff",
},
{
'name': "uint64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(0, new Uint8Array([])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800c00",
'hexVersion': "80",
'hexType': "",
'hexValue': "0c00",
},
{
'name': "uint64(549755813886)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfb7ffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfb7ffffffffe",
},
{
'name': "uint64(549755813887)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfb7fffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfb7fffffffff",
},
{
'name': "uint64(1099511627774)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfbfffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfbfffffffffe",
},
{
'name': "uint64(1099511627775)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfbffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfbffffffffff",
},
{
'name': "uint64(140737488355326)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfa7ffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfa7ffffffffffe",
},
{
'name': "uint64(140737488355327)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfa7fffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfa7fffffffffff",
},
{
'name': "uint64(281474976710654)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfafffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfafffffffffffe",
},
{
'name': "uint64(281474976710655)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cfaffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cfaffffffffffff",
},
{
'name': "uint64(36028797018963966)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf97ffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf97ffffffffffffe",
},
{
'name': "uint64(36028797018963967)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf97fffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf97fffffffffffff",
},
{
'name': "uint64(72057594037927934)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf9fffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf9fffffffffffffe",
},
{
'name': "uint64(72057594037927935)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf9ffffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf9ffffffffffffff",
},
{
'name': "uint64(9223372036854775806)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf87ffffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf87ffffffffffffffe",
},
{
'name': "uint64(9223372036854775807)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf87fffffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf87fffffffffffffff",
},
{
'name': "uint64(18446744073709551614)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf8fffffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf8fffffffffffffffe",
},
{
'name': "uint64(18446744073709551615)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.UINT64),
'typeString': "uint64",
'hex': "800cf8ffffffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0cf8ffffffffffffffff",
},
{
'name': "int16(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(0, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e00",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e00",
},
{
'name': "int16(1)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(1, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e02",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e02",
},
{
'name': "int16(2)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(2, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e04",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e04",
},
{
'name': "int16(63)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(63, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e7e",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e7e",
},
{
'name': "int16(64)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(64, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800eff80",
'hexVersion': "80",
'hexType': "",
'hexValue': "0eff80",
},
{
'name': "int16(127)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(127, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efffe",
},
{
'name': "int16(128)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(128, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efe0100",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efe0100",
},
{
'name': "int16(255)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(255, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efe01fe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efe01fe",
},
{
'name': "int16(256)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(256, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efe0200",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efe0200",
},
{
'name': "int16(32766)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(32766, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efefffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efefffc",
},
{
'name': "int16(32767)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(32767, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efefffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efefffe",
},
{
'name': "int32(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(0, true), vdl.types.INT32),
'typeString': "int32",
'hex': "801000",
'hexVersion': "80",
'hexType': "",
'hexValue': "1000",
},
{
'name': "int32(8388606)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(8388606, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fdfffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fdfffffc",
},
{
'name': "int32(8388607)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(8388607, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fdfffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fdfffffe",
},
{
'name': "int32(16777214)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(16777214, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fc01fffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fc01fffffc",
},
{
'name': "int32(16777215)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(16777215, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fc01fffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fc01fffffe",
},
{
'name': "int32(2147483646)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(2147483646, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fcfffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fcfffffffc",
},
{
'name': "int32(2147483647)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(2147483647, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fcfffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fcfffffffe",
},
{
'name': "int64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(0, new Uint8Array([])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "801200",
'hexVersion': "80",
'hexType': "",
'hexValue': "1200",
},
{
'name': "int64(1)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x1])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "801202",
'hexVersion': "80",
'hexType': "",
'hexValue': "1202",
},
{
'name': "int64(2)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x2])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "801204",
'hexVersion': "80",
'hexType': "",
'hexValue': "1204",
},
{
'name': "int64(549755813886)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fbfffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fbfffffffffc",
},
{
'name': "int64(549755813887)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fbfffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fbfffffffffe",
},
{
'name': "int64(1099511627774)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fa01fffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fa01fffffffffc",
},
{
'name': "int64(1099511627775)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fa01fffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fa01fffffffffe",
},
{
'name': "int64(140737488355326)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fafffffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fafffffffffffc",
},
{
'name': "int64(140737488355327)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fafffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fafffffffffffe",
},
{
'name': "int64(281474976710654)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f901fffffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f901fffffffffffc",
},
{
'name': "int64(281474976710655)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f901fffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f901fffffffffffe",
},
{
'name': "int64(36028797018963966)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f9fffffffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f9fffffffffffffc",
},
{
'name': "int64(36028797018963967)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f9fffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f9fffffffffffffe",
},
{
'name': "int64(72057594037927934)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f801fffffffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f801fffffffffffffc",
},
{
'name': "int64(72057594037927935)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f801fffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f801fffffffffffffe",
},
{
'name': "int64(9223372036854775806)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f8fffffffffffffffc",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f8fffffffffffffffc",
},
{
'name': "int64(9223372036854775807)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f8fffffffffffffffe",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f8fffffffffffffffe",
},
{
'name': "int16(-1)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-1, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e01",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e01",
},
{
'name': "int16(-2)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-2, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e03",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e03",
},
{
'name': "int16(-64)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-64, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800e7f",
'hexVersion': "80",
'hexType': "",
'hexValue': "0e7f",
},
{
'name': "int16(-65)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-65, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800eff81",
'hexVersion': "80",
'hexType': "",
'hexValue': "0eff81",
},
{
'name': "int16(-128)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-128, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800effff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0effff",
},
{
'name': "int16(-129)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-129, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efe0101",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efe0101",
},
{
'name': "int16(-256)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-256, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efe01ff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efe01ff",
},
{
'name': "int16(-257)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-257, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efe0201",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efe0201",
},
{
'name': "int16(-32767)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-32767, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efefffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efefffd",
},
{
'name': "int16(-32768)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT16))(-32768, true), vdl.types.INT16),
'typeString': "int16",
'hex': "800efeffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "0efeffff",
},
{
'name': "int32(-8388607)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-8388607, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fdfffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fdfffffd",
},
{
'name': "int32(-8388608)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-8388608, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fdffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fdffffff",
},
{
'name': "int32(-16777215)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-16777215, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fc01fffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fc01fffffd",
},
{
'name': "int32(-16777216)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-16777216, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fc01ffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fc01ffffff",
},
{
'name': "int32(-2147483647)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-2147483647, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fcfffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fcfffffffd",
},
{
'name': "int32(-2147483648)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-2147483648, true), vdl.types.INT32),
'typeString': "int32",
'hex': "8010fcffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "10fcffffffff",
},
{
'name': "int64(-1)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x1])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "801201",
'hexVersion': "80",
'hexType': "",
'hexValue': "1201",
},
{
'name': "int64(-2)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x2])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "801203",
'hexVersion': "80",
'hexType': "",
'hexValue': "1203",
},
{
'name': "int64(-549755813887)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fbfffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fbfffffffffd",
},
{
'name': "int64(-549755813888)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x80, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fbffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fbffffffffff",
},
{
'name': "int64(-1099511627775)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fa01fffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fa01fffffffffd",
},
{
'name': "int64(-1099511627776)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x1, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fa01ffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fa01ffffffffff",
},
{
'name': "int64(-140737488355327)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012fafffffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12fafffffffffffd",
},
{
'name': "int64(-140737488355328)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x80, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012faffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12faffffffffffff",
},
{
'name': "int64(-281474976710655)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f901fffffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f901fffffffffffd",
},
{
'name': "int64(-281474976710656)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f901ffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f901ffffffffffff",
},
{
'name': "int64(-36028797018963967)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f9fffffffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f9fffffffffffffd",
},
{
'name': "int64(-36028797018963968)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f9ffffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f9ffffffffffffff",
},
{
'name': "int64(-72057594037927935)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f801fffffffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f801fffffffffffffd",
},
{
'name': "int64(-72057594037927936)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f801ffffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f801ffffffffffffff",
},
{
'name': "int64(-9223372036854775807)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f8fffffffffffffffd",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f8fffffffffffffffd",
},
{
'name': "int64(-9223372036854775808)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
'typeString': "int64",
'hex': "8012f8ffffffffffffffff",
'hexVersion': "80",
'hexType': "",
'hexValue': "12f8ffffffffffffffff",
},
{
'name': "float32(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT32))(0, true), vdl.types.FLOAT32),
'typeString': "float32",
'hex': "801400",
'hexVersion': "80",
'hexType': "",
'hexValue': "1400",
},
{
'name': "float32(32.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT32))(32.5, true), vdl.types.FLOAT32),
'typeString': "float32",
'hex': "8014fd404040",
'hexVersion': "80",
'hexType': "",
'hexValue': "14fd404040",
},
{
'name': "float32(-32.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT32))(-32.5, true), vdl.types.FLOAT32),
'typeString': "float32",
'hex': "8014fd4040c0",
'hexVersion': "80",
'hexType': "",
'hexValue': "14fd4040c0",
},
{
'name': "float64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(0, true), vdl.types.FLOAT64),
'typeString': "float64",
'hex': "801600",
'hexVersion': "80",
'hexType': "",
'hexValue': "1600",
},
{
'name': "float64(64.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(64.5, true), vdl.types.FLOAT64),
'typeString': "float64",
'hex': "8016fd205040",
'hexVersion': "80",
'hexType': "",
'hexValue': "16fd205040",
},
{
'name': "float64(-64.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(-64.5, true), vdl.types.FLOAT64),
'typeString': "float64",
'hex': "8016fd2050c0",
'hexVersion': "80",
'hexType': "",
'hexValue': "16fd2050c0",
},
{
'name': "complex64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX64))(new vdl.Complex(0.000000, 0.000000), true), vdl.types.COMPLEX64),
'typeString': "complex64",
'hex': "8018020000",
'hexVersion': "80",
'hexType': "",
'hexValue': "18020000",
},
{
'name': "complex64(64.5+64.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX64))(new vdl.Complex(64.500000, 64.500000), true), vdl.types.COMPLEX64),
'typeString': "complex64",
'hex': "801808fd205040fd205040",
'hexVersion': "80",
'hexType': "",
'hexValue': "1808fd205040fd205040",
},
{
'name': "complex64(64.5-64.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX64))(new vdl.Complex(64.500000, -64.500000), true), vdl.types.COMPLEX64),
'typeString': "complex64",
'hex': "801808fd205040fd2050c0",
'hexVersion': "80",
'hexType': "",
'hexValue': "1808fd205040fd2050c0",
},
{
'name': "complex128(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(0.000000, 0.000000), true), vdl.types.COMPLEX128),
'typeString': "complex128",
'hex': "801a020000",
'hexVersion': "80",
'hexType': "",
'hexValue': "1a020000",
},
{
'name': "complex128(128.5+128.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(128.500000, 128.500000), true), vdl.types.COMPLEX128),
'typeString': "complex128",
'hex': "801a08fd106040fd106040",
'hexVersion': "80",
'hexType': "",
'hexValue': "1a08fd106040fd106040",
},
{
'name': "complex128(128.5-128.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(128.500000, -128.500000), true), vdl.types.COMPLEX128),
'typeString': "complex128",
'hex': "801a08fd106040fd1060c0",
'hexVersion': "80",
'hexType': "",
'hexValue': "1a08fd106040fd1060c0",
},
{
'name': "NBool(true)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNBool))(true, true), _typeNBool),
'typeString': "v.io/v23/vom/testdata.NBool bool",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e15201",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1",
'hexValue': "5201",
},
{
'name': "NBool(false)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNBool))(false, true), _typeNBool),
'typeString': "v.io/v23/vom/testdata.NBool bool",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e15200",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1",
'hexValue': "5200",
},
{
'name': "NString(\"\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNString))("", true), _typeNString),
'typeString': "v.io/v23/vom/testdata.NString string",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e537472696e670103e15200",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e537472696e670103e1",
'hexValue': "5200",
},
{
'name': "NString(\"abc\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNString))("abc", true), _typeNString),
'typeString': "v.io/v23/vom/testdata.NString string",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e537472696e670103e15203616263",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e537472696e670103e1",
'hexValue': "5203616263",
},
{
'name': "NByteSlice(\"\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteSlice))(new Uint8Array([
]), true), _typeNByteSlice),
'typeString': "v.io/v23/vom/testdata.NByteSlice []byte",
'hex': "805126030020762e696f2f7632332f766f6d2f74657374646174612e4e42797465536c6963650102e15200",
'hexVersion': "80",
'hexType': "5126030020762e696f2f7632332f766f6d2f74657374646174612e4e42797465536c6963650102e1",
'hexValue': "5200",
},
{
'name': "NByteSlice(\"\\x01\\x02\\x03\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteSlice))(new Uint8Array([
1,
2,
3,
]), true), _typeNByteSlice),
'typeString': "v.io/v23/vom/testdata.NByteSlice []byte",
'hex': "805126030020762e696f2f7632332f766f6d2f74657374646174612e4e42797465536c6963650102e15203010203",
'hexVersion': "80",
'hexType': "5126030020762e696f2f7632332f766f6d2f74657374646174612e4e42797465536c6963650102e1",
'hexValue': "5203010203",
},
{
'name': "NByteSlice(\"abc\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteSlice))(new Uint8Array([
97,
98,
99,
]), true), _typeNByteSlice),
'typeString': "v.io/v23/vom/testdata.NByteSlice []byte",
'hex': "805126030020762e696f2f7632332f766f6d2f74657374646174612e4e42797465536c6963650102e15203616263",
'hexVersion': "80",
'hexType': "5126030020762e696f2f7632332f766f6d2f74657374646174612e4e42797465536c6963650102e1",
'hexValue': "5203616263",
},
{
'name': "NByteArray(\"\\x00\\x00\\x00\\x00\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteArray))(new Uint8Array([
0,
0,
0,
0,
]), true), _typeNByteArray),
'typeString': "v.io/v23/vom/testdata.NByteArray [4]byte",
'hex': "805128020020762e696f2f7632332f766f6d2f74657374646174612e4e42797465417272617901020204e1520000000000",
'hexVersion': "80",
'hexType': "5128020020762e696f2f7632332f766f6d2f74657374646174612e4e42797465417272617901020204e1",
'hexValue': "520000000000",
},
{
'name': "NByteArray(\"\\x01\\x02\\x03\\x00\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteArray))(new Uint8Array([
1,
2,
3,
0,
]), true), _typeNByteArray),
'typeString': "v.io/v23/vom/testdata.NByteArray [4]byte",
'hex': "805128020020762e696f2f7632332f766f6d2f74657374646174612e4e42797465417272617901020204e1520001020300",
'hexVersion': "80",
'hexType': "5128020020762e696f2f7632332f766f6d2f74657374646174612e4e42797465417272617901020204e1",
'hexValue': "520001020300",
},
{
'name': "NByteArray(\"abcd\")",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteArray))(new Uint8Array([
97,
98,
99,
100,
]), true), _typeNByteArray),
'typeString': "v.io/v23/vom/testdata.NByteArray [4]byte",
'hex': "805128020020762e696f2f7632332f766f6d2f74657374646174612e4e42797465417272617901020204e1520061626364",
'hexVersion': "80",
'hexType': "5128020020762e696f2f7632332f766f6d2f74657374646174612e4e42797465417272617901020204e1",
'hexValue': "520061626364",
},
{
'name': "NByte(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByte))(0, true), _typeNByte),
'typeString': "v.io/v23/vom/testdata.NByte byte",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4e427974650102e15200",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4e427974650102e1",
'hexValue': "5200",
},
{
'name': "NByte(127)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByte))(127, true), _typeNByte),
'typeString': "v.io/v23/vom/testdata.NByte byte",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4e427974650102e1527f",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4e427974650102e1",
'hexValue': "527f",
},
{
'name': "NByte(255)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByte))(255, true), _typeNByte),
'typeString': "v.io/v23/vom/testdata.NByte byte",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4e427974650102e152ff",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4e427974650102e1",
'hexValue': "52ff",
},
{
'name': "NUint16(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUint16))(0, true), _typeNUint16),
'typeString': "v.io/v23/vom/testdata.NUint16 uint16",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7431360104e15200",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7431360104e1",
'hexValue': "5200",
},
{
'name': "NUint16(65535)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUint16))(65535, true), _typeNUint16),
'typeString': "v.io/v23/vom/testdata.NUint16 uint16",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7431360104e152feffff",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7431360104e1",
'hexValue': "52feffff",
},
{
'name': "NUint32(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUint32))(0, true), _typeNUint32),
'typeString': "v.io/v23/vom/testdata.NUint32 uint32",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7433320105e15200",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7433320105e1",
'hexValue': "5200",
},
{
'name': "NUint32(4294967295)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUint32))(4294967295, true), _typeNUint32),
'typeString': "v.io/v23/vom/testdata.NUint32 uint32",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7433320105e152fcffffffff",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7433320105e1",
'hexValue': "52fcffffffff",
},
{
'name': "NUint64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUint64))(new vdl.BigInt(0, new Uint8Array([])), true), _typeNUint64),
'typeString': "v.io/v23/vom/testdata.NUint64 uint64",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7436340106e15200",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7436340106e1",
'hexValue': "5200",
},
{
'name': "NUint64(18446744073709551615)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUint64))(new vdl.BigInt(1, new Uint8Array([0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), _typeNUint64),
'typeString': "v.io/v23/vom/testdata.NUint64 uint64",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7436340106e152f8ffffffffffffffff",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7436340106e1",
'hexValue': "52f8ffffffffffffffff",
},
{
'name': "NInt16(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt16))(0, true), _typeNInt16),
'typeString': "v.io/v23/vom/testdata.NInt16 int16",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e15200",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e1",
'hexValue': "5200",
},
{
'name': "NInt16(32767)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt16))(32767, true), _typeNInt16),
'typeString': "v.io/v23/vom/testdata.NInt16 int16",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e152fefffe",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e1",
'hexValue': "52fefffe",
},
{
'name': "NInt16(-32768)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt16))(-32768, true), _typeNInt16),
'typeString': "v.io/v23/vom/testdata.NInt16 int16",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e152feffff",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e1",
'hexValue': "52feffff",
},
{
'name': "NInt32(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt32))(0, true), _typeNInt32),
'typeString': "v.io/v23/vom/testdata.NInt32 int32",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e15200",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e1",
'hexValue': "5200",
},
{
'name': "NInt32(2147483647)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt32))(2147483647, true), _typeNInt32),
'typeString': "v.io/v23/vom/testdata.NInt32 int32",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e152fcfffffffe",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e1",
'hexValue': "52fcfffffffe",
},
{
'name': "NInt32(-2147483648)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt32))(-2147483648, true), _typeNInt32),
'typeString': "v.io/v23/vom/testdata.NInt32 int32",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e152fcffffffff",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e1",
'hexValue': "52fcffffffff",
},
{
'name': "NInt64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt64))(new vdl.BigInt(0, new Uint8Array([])), true), _typeNInt64),
'typeString': "v.io/v23/vom/testdata.NInt64 int64",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e15200",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e1",
'hexValue': "5200",
},
{
'name': "NInt64(9223372036854775807)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt64))(new vdl.BigInt(1, new Uint8Array([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff])), true), _typeNInt64),
'typeString': "v.io/v23/vom/testdata.NInt64 int64",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e152f8fffffffffffffffe",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e1",
'hexValue': "52f8fffffffffffffffe",
},
{
'name': "NInt64(-9223372036854775808)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNInt64))(new vdl.BigInt(-1, new Uint8Array([0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0])), true), _typeNInt64),
'typeString': "v.io/v23/vom/testdata.NInt64 int64",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e152f8ffffffffffffffff",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e1",
'hexValue': "52f8ffffffffffffffff",
},
{
'name': "NFloat32(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNFloat32))(0, true), _typeNFloat32),
'typeString': "v.io/v23/vom/testdata.NFloat32 float32",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae15200",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae1",
'hexValue': "5200",
},
{
'name': "NFloat32(32.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNFloat32))(32.5, true), _typeNFloat32),
'typeString': "v.io/v23/vom/testdata.NFloat32 float32",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae152fd404040",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae1",
'hexValue': "52fd404040",
},
{
'name': "NFloat32(-32.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNFloat32))(-32.5, true), _typeNFloat32),
'typeString': "v.io/v23/vom/testdata.NFloat32 float32",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae152fd4040c0",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae1",
'hexValue': "52fd4040c0",
},
{
'name': "NFloat64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNFloat64))(0, true), _typeNFloat64),
'typeString': "v.io/v23/vom/testdata.NFloat64 float64",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be15200",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be1",
'hexValue': "5200",
},
{
'name': "NFloat64(64.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNFloat64))(64.5, true), _typeNFloat64),
'typeString': "v.io/v23/vom/testdata.NFloat64 float64",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be152fd205040",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be1",
'hexValue': "52fd205040",
},
{
'name': "NFloat64(-64.5)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNFloat64))(-64.5, true), _typeNFloat64),
'typeString': "v.io/v23/vom/testdata.NFloat64 float64",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be152fd2050c0",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be1",
'hexValue': "52fd2050c0",
},
{
'name': "NComplex64(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNComplex64))(new vdl.Complex(0.000000, 0.000000), true), _typeNComplex64),
'typeString': "v.io/v23/vom/testdata.NComplex64 complex64",
'hex': "805126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce152020000",
'hexVersion': "80",
'hexType': "5126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce1",
'hexValue': "52020000",
},
{
'name': "NComplex64(64.5+64.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNComplex64))(new vdl.Complex(64.500000, 64.500000), true), _typeNComplex64),
'typeString': "v.io/v23/vom/testdata.NComplex64 complex64",
'hex': "805126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce15208fd205040fd205040",
'hexVersion': "80",
'hexType': "5126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce1",
'hexValue': "5208fd205040fd205040",
},
{
'name': "NComplex64(64.5-64.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNComplex64))(new vdl.Complex(64.500000, -64.500000), true), _typeNComplex64),
'typeString': "v.io/v23/vom/testdata.NComplex64 complex64",
'hex': "805126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce15208fd205040fd2050c0",
'hexVersion': "80",
'hexType': "5126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce1",
'hexValue': "5208fd205040fd2050c0",
},
{
'name': "NComplex128(0)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNComplex128))(new vdl.Complex(0.000000, 0.000000), true), _typeNComplex128),
'typeString': "v.io/v23/vom/testdata.NComplex128 complex128",
'hex': "805127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de152020000",
'hexVersion': "80",
'hexType': "5127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de1",
'hexValue': "52020000",
},
{
'name': "NComplex128(128.5+128.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNComplex128))(new vdl.Complex(128.500000, 128.500000), true), _typeNComplex128),
'typeString': "v.io/v23/vom/testdata.NComplex128 complex128",
'hex': "805127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de15208fd106040fd106040",
'hexVersion': "80",
'hexType': "5127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de1",
'hexValue': "5208fd106040fd106040",
},
{
'name': "NComplex128(128.5-128.5i)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNComplex128))(new vdl.Complex(128.500000, -128.500000), true), _typeNComplex128),
'typeString': "v.io/v23/vom/testdata.NComplex128 complex128",
'hex': "805127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de15208fd106040fd1060c0",
'hexVersion': "80",
'hexType': "5127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de1",
'hexValue': "5208fd106040fd1060c0",
},
{
'name': "NArray2Uint64{1, 2}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNArray2Uint64))([
new vdl.BigInt(1, new Uint8Array([0x1])),
new vdl.BigInt(1, new Uint8Array([0x2])),
], true), _typeNArray2Uint64),
'typeString': "v.io/v23/vom/testdata.NArray2Uint64 [2]uint64",
'hex': "80512b020023762e696f2f7632332f766f6d2f74657374646174612e4e41727261793255696e74363401060202e15203000102",
'hexVersion': "80",
'hexType': "512b020023762e696f2f7632332f766f6d2f74657374646174612e4e41727261793255696e74363401060202e1",
'hexValue': "5203000102",
},
{
'name': "[]uint64{1, 2}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type3))([
new vdl.BigInt(1, new Uint8Array([0x1])),
new vdl.BigInt(1, new Uint8Array([0x2])),
], true), _type3),
'typeString': "[]uint64",
'hex': "805104030106e15203020102",
'hexVersion': "80",
'hexType': "5104030106e1",
'hexValue': "5203020102",
},
{
'name': "NListUint64{1, 2}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNListUint64))([
new vdl.BigInt(1, new Uint8Array([0x1])),
new vdl.BigInt(1, new Uint8Array([0x2])),
], true), _typeNListUint64),
'typeString': "v.io/v23/vom/testdata.NListUint64 []uint64",
'hex': "805127030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e15203020102",
'hexVersion': "80",
'hexType': "5127030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e1",
'hexValue': "5203020102",
},
{
'name': "set[uint64]{1}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type4))(new Set([
new vdl.BigInt(1, new Uint8Array([0x1])), ]), true), _type4),
'typeString': "set[uint64]",
'hex': "805104040106e152020101",
'hexVersion': "80",
'hexType': "5104040106e1",
'hexValue': "52020101",
},
{
'name': "NSetUint64{1}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNSetUint64))(new Set([
new vdl.BigInt(1, new Uint8Array([0x1])), ]), true), _typeNSetUint64),
'typeString': "v.io/v23/vom/testdata.NSetUint64 set[uint64]",
'hex': "805126040020762e696f2f7632332f766f6d2f74657374646174612e4e53657455696e7436340106e152020101",
'hexVersion': "80",
'hexType': "5126040020762e696f2f7632332f766f6d2f74657374646174612e4e53657455696e7436340106e1",
'hexValue': "52020101",
},
{
'name': "map[uint64]string{1: \"abc\"}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type5))(new Map([
[new vdl.BigInt(1, new Uint8Array([0x1])), "abc"]]), true), _type5),
'typeString': "map[uint64]string",
'hex': "8051060501060203e15206010103616263",
'hexVersion': "80",
'hexType': "51060501060203e1",
'hexValue': "5206010103616263",
},
{
'name': "NMapUint64String{1: \"abc\"}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNMapUint64String))(new Map([
[new vdl.BigInt(1, new Uint8Array([0x1])), "abc"]]), true), _typeNMapUint64String),
'typeString': "v.io/v23/vom/testdata.NMapUint64String map[uint64]string",
'hex': "80512e050026762e696f2f7632332f766f6d2f74657374646174612e4e4d617055696e743634537472696e6701060203e15206010103616263",
'hexVersion': "80",
'hexType': "512e050026762e696f2f7632332f766f6d2f74657374646174612e4e4d617055696e743634537472696e6701060203e1",
'hexValue': "5206010103616263",
},
{
'name': "NStruct{A: true, B: \"abc\", C: 123}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNStruct))({
'a': true,
'b': "abc",
'c': new vdl.BigInt(1, new Uint8Array([0x7b])),
}, true), _typeNStruct),
'typeString': "v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64}",
'hex': "80513506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1520b0001010361626302fff6e1",
'hexVersion': "80",
'hexType': "513506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1",
'hexValue': "520b0001010361626302fff6e1",
},
{
'name': "?NStruct(nil)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type6))(null, true), _type6),
'typeString': "?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64}",
'hex': "80533506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1510408012ae15201e0",
'hexVersion': "80",
'hexType': "533506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1510408012ae1",
'hexValue': "5201e0",
},
{
'name': "?NStruct{}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type6))({
'a': false,
'b': "",
'c': new vdl.BigInt(0, new Uint8Array([])),
}, true), _type6),
'typeString': "?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64}",
'hex': "80533506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1510408012ae15201e1",
'hexVersion': "80",
'hexType': "533506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1510408012ae1",
'hexValue': "5201e1",
},
{
'name': "?NStruct{A: true, B: \"abc\", C: 123}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type6))({
'a': true,
'b': "abc",
'c': new vdl.BigInt(1, new Uint8Array([0x7b])),
}, true), _type6),
'typeString': "?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64}",
'hex': "80533506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1510408012ae1520b0001010361626302fff6e1",
'hexVersion': "80",
'hexType': "533506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1510408012ae1",
'hexValue': "520b0001010361626302fff6e1",
},
{
'name': "NEnum.A",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('A', true), _typeNEnum),
'typeString': "v.io/v23/vom/testdata.NEnum enum{A;B;C}",
'hex': "80512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e15200",
'hexVersion': "80",
'hexType': "512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e1",
'hexValue': "5200",
},
{
'name': "NEnum.B",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('B', true), _typeNEnum),
'typeString': "v.io/v23/vom/testdata.NEnum enum{A;B;C}",
'hex': "80512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e15201",
'hexVersion': "80",
'hexType': "512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e1",
'hexValue': "5201",
},
{
'name': "NEnum.C",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('C', true), _typeNEnum),
'typeString': "v.io/v23/vom/testdata.NEnum enum{A;B;C}",
'hex': "80512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e15202",
'hexVersion': "80",
'hexType': "512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e1",
'hexValue': "5202",
},
{
'name': "NUnion{A: true}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "a": true }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e152020001",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "52020001",
},
{
'name': "NUnion{A: false}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "a": false }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e152020000",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "52020000",
},
{
'name': "NUnion{B: \"\"}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "b": "" }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e152020100",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "52020100",
},
{
'name': "NUnion{B: \"abc\"}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "b": "abc" }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e152050103616263",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "52050103616263",
},
{
'name': "NUnion{C: 0}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "c": new vdl.BigInt(0, new Uint8Array([])) }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e152020200",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "52020200",
},
{
'name': "NUnion{C: 123}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "c": new vdl.BigInt(1, new Uint8Array([0x7b])) }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1520302fff6",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "520302fff6",
},
{
'name': "NUnion{C: -123}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "c": new vdl.BigInt(-1, new Uint8Array([0x7b])) }, true), _typeNUnion),
'typeString': "v.io/v23/vom/testdata.NUnion union{A bool;B string;C int64}",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1520302fff5",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "520302fff5",
},
{
'name': "MBool(true)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMBool))(true, true), _typeMBool),
'typeString': "v.io/v23/vom/testdata.MBool bool",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e15201",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1",
'hexValue': "5201",
},
{
'name': "MBool(false)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMBool))(false, true), _typeMBool),
'typeString': "v.io/v23/vom/testdata.MBool bool",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e15200",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1",
'hexValue': "5200",
},
{
'name': "MStruct{A: true, B: true, C: true}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': true,
'b': true,
'c': true,
'd': null,
'e': vdl.types.ANY,
'f': null,
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e15207000101010201e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "5207000101010201e1",
},
{
'name': "MStruct{}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': false,
'b': false,
'c': false,
'd': null,
'e': vdl.types.ANY,
'f': null,
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e15201e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "5201e1",
},
{
'name': "MStruct{D: {}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': false,
'b': false,
'c': false,
'd': {
'a': false,
'b': "",
'c': new vdl.BigInt(0, new Uint8Array([])),
},
'e': vdl.types.ANY,
'f': null,
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1520303e1e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "520303e1e1",
},
{
'name': "MStruct{D: {A: true, B: \"abc\", C: 123}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': false,
'b': false,
'c': false,
'd': {
'a': true,
'b': "abc",
'c': new vdl.BigInt(1, new Uint8Array([0x7b])),
},
'e': vdl.types.ANY,
'f': null,
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1520d030001010361626302fff6e1e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "520d030001010361626302fff6e1e1",
},
{
'name': "MStruct{F: \"abc\"}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': false,
'b': false,
'c': false,
'd': null,
'e': vdl.types.ANY,
'f': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("abc", true), vdl.types.STRING),
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e15207050303616263e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "5207050303616263e1",
},
{
'name': "MStruct{F: MBool(true)}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': false,
'b': false,
'c': false,
'd': null,
'e': vdl.types.ANY,
'f': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMBool))(true, true), _typeMBool),
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e15204052b01e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "5204052b01e1",
},
{
'name': "MStruct{F: ?NStruct{B: \"abc\"}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMStruct))({
'a': false,
'b': false,
'c': false,
'd': null,
'e': vdl.types.ANY,
'f': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type6))({
'a': false,
'b': "abc",
'c': new vdl.BigInt(0, new Uint8Array([])),
}, true), _type6),
}, true), _typeMStruct),
'typeString': "v.io/v23/vom/testdata.MStruct struct{A bool;B v.io/v23/vom/testdata.NBool bool;C v.io/v23/vom/testdata.MBool bool;D ?v.io/v23/vom/testdata.NStruct struct{A bool;B string;C int64};E typeobject;F any}",
'hex': "80532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e15209052c0103616263e1e1",
'hexVersion': "80",
'hexType': "532100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1552100001b762e696f2f7632332f766f6d2f74657374646174612e4d426f6f6c0101e1593506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1570408012de1514706001d762e696f2f7632332f766f6d2f74657374646174612e4d53747275637401060001410101e1000142012ae1000143012be1000144012ce1000145010ee1000146010fe1e1",
'hexValue': "5209052c0103616263e1e1",
},
{
'name': "MList{{4, 2}, {}, {99}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMList))([
[
new vdl.BigInt(1, new Uint8Array([0x4])),
new vdl.BigInt(1, new Uint8Array([0x2])),
],
[
],
[
new vdl.BigInt(1, new Uint8Array([0x63])),
],
], true), _typeMList),
'typeString': "v.io/v23/vom/testdata.MList []v.io/v23/vom/testdata.NListUint64 []uint64",
'hex': "805327030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e1512103001b762e696f2f7632332f766f6d2f74657374646174612e4d4c697374012ae1520703020402000163",
'hexVersion': "80",
'hexType': "5327030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e1512103001b762e696f2f7632332f766f6d2f74657374646174612e4d4c697374012ae1",
'hexValue': "520703020402000163",
},
{
'name': "MMap{4.5: {2, 3}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMMap))(new Map([
[4.5, [
new vdl.BigInt(1, new Uint8Array([0x2])),
new vdl.BigInt(1, new Uint8Array([0x3])),
]]]), true), _typeMMap),
'typeString': "v.io/v23/vom/testdata.MMap map[v.io/v23/vom/testdata.NFloat32 float32]v.io/v23/vom/testdata.NListUint64 []uint64",
'hex': "80532400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae15527030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e1512205001a762e696f2f7632332f766f6d2f74657374646174612e4d4d6170012a022be1520701fe1240020203",
'hexVersion': "80",
'hexType': "532400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae15527030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e1512205001a762e696f2f7632332f766f6d2f74657374646174612e4d4d6170012a022be1",
'hexValue': "520701fe1240020203",
},
{
'name': "RecA{{}, {{}}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeRecA))([
[
],
[
[
],
],
], true), _typeRecA),
'typeString': "v.io/v23/vom/testdata.RecA []v.io/v23/vom/testdata.RecA",
'hex': "80512003001a762e696f2f7632332f766f6d2f74657374646174612e526563410129e1520402000100",
'hexVersion': "80",
'hexType': "512003001a762e696f2f7632332f766f6d2f74657374646174612e526563410129e1",
'hexValue': "520402000100",
},
{
'name': "RecX{{}, {{}, {}}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeRecX))([
[
],
[
[
],
[
],
],
], true), _typeRecX),
'typeString': "v.io/v23/vom/testdata.RecX []v.io/v23/vom/testdata.RecY []v.io/v23/vom/testdata.RecX",
'hex': "80532003001a762e696f2f7632332f766f6d2f74657374646174612e526563590129e1512003001a762e696f2f7632332f766f6d2f74657374646174612e52656358012ae152050200020000",
'hexVersion': "80",
'hexType': "532003001a762e696f2f7632332f766f6d2f74657374646174612e526563590129e1512003001a762e696f2f7632332f766f6d2f74657374646174612e52656358012ae1",
'hexValue': "52050200020000",
},
{
'name': "RecStruct{A: {}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeRecStruct))({
'a': {
'a': null,
},
}, true), _typeRecStruct),
'typeString': "v.io/v23/vom/testdata.RecStruct struct{A ?v.io/v23/vom/testdata.RecStruct}",
'hex': "805304080129e1512b06001f762e696f2f7632332f766f6d2f74657374646174612e5265635374727563740101000141012ae1e1520300e1e1",
'hexVersion': "80",
'hexType': "5304080129e1512b06001f762e696f2f7632332f766f6d2f74657374646174612e5265635374727563740101000141012ae1e1",
'hexValue': "520300e1e1",
},
{
'name': "RecStruct{A: {A: {}}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeRecStruct))({
'a': {
'a': {
'a': null,
},
},
}, true), _typeRecStruct),
'typeString': "v.io/v23/vom/testdata.RecStruct struct{A ?v.io/v23/vom/testdata.RecStruct}",
'hex': "805304080129e1512b06001f762e696f2f7632332f766f6d2f74657374646174612e5265635374727563740101000141012ae1e152050000e1e1e1",
'hexVersion': "80",
'hexType': "5304080129e1512b06001f762e696f2f7632332f766f6d2f74657374646174612e5265635374727563740101000141012ae1e1",
'hexValue': "52050000e1e1e1",
},
{
'name': "typeobject(any)",
'value': vdl.types.ANY,
'typeString': "typeobject",
'hex': "801c0f",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c0f",
},
{
'name': "typeobject(bool)",
'value': vdl.types.BOOL,
'typeString': "typeobject",
'hex': "801c01",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c01",
},
{
'name': "typeobject(uint16)",
'value': vdl.types.UINT16,
'typeString': "typeobject",
'hex': "801c04",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c04",
},
{
'name': "typeobject(uint32)",
'value': vdl.types.UINT32,
'typeString': "typeobject",
'hex': "801c05",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c05",
},
{
'name': "typeobject(uint64)",
'value': vdl.types.UINT64,
'typeString': "typeobject",
'hex': "801c06",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c06",
},
{
'name': "typeobject(int16)",
'value': vdl.types.INT16,
'typeString': "typeobject",
'hex': "801c07",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c07",
},
{
'name': "typeobject(int32)",
'value': vdl.types.INT32,
'typeString': "typeobject",
'hex': "801c08",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c08",
},
{
'name': "typeobject(int64)",
'value': vdl.types.INT64,
'typeString': "typeobject",
'hex': "801c09",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c09",
},
{
'name': "typeobject(int16)",
'value': vdl.types.INT16,
'typeString': "typeobject",
'hex': "801c07",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c07",
},
{
'name': "typeobject(int32)",
'value': vdl.types.INT32,
'typeString': "typeobject",
'hex': "801c08",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c08",
},
{
'name': "typeobject(int64)",
'value': vdl.types.INT64,
'typeString': "typeobject",
'hex': "801c09",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c09",
},
{
'name': "typeobject(float32)",
'value': vdl.types.FLOAT32,
'typeString': "typeobject",
'hex': "801c0a",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c0a",
},
{
'name': "typeobject(float64)",
'value': vdl.types.FLOAT64,
'typeString': "typeobject",
'hex': "801c0b",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c0b",
},
{
'name': "typeobject(complex64)",
'value': vdl.types.COMPLEX64,
'typeString': "typeobject",
'hex': "801c0c",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c0c",
},
{
'name': "typeobject(complex128)",
'value': vdl.types.COMPLEX128,
'typeString': "typeobject",
'hex': "801c0d",
'hexVersion': "80",
'hexType': "",
'hexValue': "1c0d",
},
{
'name': "typeobject(NBool)",
'value': _typeNBool,
'typeString': "typeobject",
'hex': "80512100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e11c29",
'hexVersion': "80",
'hexType': "512100001b762e696f2f7632332f766f6d2f74657374646174612e4e426f6f6c0101e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NUint16)",
'value': _typeNUint16,
'typeString': "typeobject",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7431360104e11c29",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7431360104e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NUint32)",
'value': _typeNUint32,
'typeString': "typeobject",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7433320105e11c29",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7433320105e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NUint64)",
'value': _typeNUint64,
'typeString': "typeobject",
'hex': "80512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7436340106e11c29",
'hexVersion': "80",
'hexType': "512300001d762e696f2f7632332f766f6d2f74657374646174612e4e55696e7436340106e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NInt16)",
'value': _typeNInt16,
'typeString': "typeobject",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e11c29",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7431360107e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NInt32)",
'value': _typeNInt32,
'typeString': "typeobject",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e11c29",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7433320108e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NInt64)",
'value': _typeNInt64,
'typeString': "typeobject",
'hex': "80512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e11c29",
'hexVersion': "80",
'hexType': "512200001c762e696f2f7632332f766f6d2f74657374646174612e4e496e7436340109e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NFloat32)",
'value': _typeNFloat32,
'typeString': "typeobject",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae11c29",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743332010ae1",
'hexValue': "1c29",
},
{
'name': "typeobject(NFloat64)",
'value': _typeNFloat64,
'typeString': "typeobject",
'hex': "80512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be11c29",
'hexVersion': "80",
'hexType': "512400001e762e696f2f7632332f766f6d2f74657374646174612e4e466c6f61743634010be1",
'hexValue': "1c29",
},
{
'name': "typeobject(NComplex64)",
'value': _typeNComplex64,
'typeString': "typeobject",
'hex': "805126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce11c29",
'hexVersion': "80",
'hexType': "5126000020762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c65783634010ce1",
'hexValue': "1c29",
},
{
'name': "typeobject(NComplex128)",
'value': _typeNComplex128,
'typeString': "typeobject",
'hex': "805127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de11c29",
'hexVersion': "80",
'hexType': "5127000021762e696f2f7632332f766f6d2f74657374646174612e4e436f6d706c6578313238010de1",
'hexValue': "1c29",
},
{
'name': "typeobject(NArray2Uint64)",
'value': _typeNArray2Uint64,
'typeString': "typeobject",
'hex': "80512b020023762e696f2f7632332f766f6d2f74657374646174612e4e41727261793255696e74363401060202e11c29",
'hexVersion': "80",
'hexType': "512b020023762e696f2f7632332f766f6d2f74657374646174612e4e41727261793255696e74363401060202e1",
'hexValue': "1c29",
},
{
'name': "typeobject([]uint64)",
'value': _type3,
'typeString': "typeobject",
'hex': "805104030106e11c29",
'hexVersion': "80",
'hexType': "5104030106e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NListUint64)",
'value': _typeNListUint64,
'typeString': "typeobject",
'hex': "805127030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e11c29",
'hexVersion': "80",
'hexType': "5127030021762e696f2f7632332f766f6d2f74657374646174612e4e4c69737455696e7436340106e1",
'hexValue': "1c29",
},
{
'name': "typeobject(set[uint64])",
'value': _type4,
'typeString': "typeobject",
'hex': "805104040106e11c29",
'hexVersion': "80",
'hexType': "5104040106e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NSetUint64)",
'value': _typeNSetUint64,
'typeString': "typeobject",
'hex': "805126040020762e696f2f7632332f766f6d2f74657374646174612e4e53657455696e7436340106e11c29",
'hexVersion': "80",
'hexType': "5126040020762e696f2f7632332f766f6d2f74657374646174612e4e53657455696e7436340106e1",
'hexValue': "1c29",
},
{
'name': "typeobject(map[uint64]string)",
'value': _type5,
'typeString': "typeobject",
'hex': "8051060501060203e11c29",
'hexVersion': "80",
'hexType': "51060501060203e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NMapUint64String)",
'value': _typeNMapUint64String,
'typeString': "typeobject",
'hex': "80512e050026762e696f2f7632332f766f6d2f74657374646174612e4e4d617055696e743634537472696e6701060203e11c29",
'hexVersion': "80",
'hexType': "512e050026762e696f2f7632332f766f6d2f74657374646174612e4e4d617055696e743634537472696e6701060203e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NStruct)",
'value': _typeNStruct,
'typeString': "typeobject",
'hex': "80513506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e11c29",
'hexVersion': "80",
'hexType': "513506001d762e696f2f7632332f766f6d2f74657374646174612e4e53747275637401030001410101e10001420103e10001430109e1e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NEnum)",
'value': _typeNEnum,
'typeString': "typeobject",
'hex': "80512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e11c29",
'hexVersion': "80",
'hexType': "512701001b762e696f2f7632332f766f6d2f74657374646174612e4e456e756d0103014101420143e1",
'hexValue': "1c29",
},
{
'name': "typeobject(NUnion)",
'value': _typeNUnion,
'typeString': "typeobject",
'hex': "80513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e11c29",
'hexVersion': "80",
'hexType': "513407001c762e696f2f7632332f766f6d2f74657374646174612e4e556e696f6e01030001410101e10001420103e10001430109e1e1",
'hexValue': "1c29",
},
{
'name': "StructAny{}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructAny))({
'any': null,
}, true), _typeStructAny),
'typeString': "v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e15201e1",
'hexVersion': "80",
'hexType': "512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1",
'hexValue': "5201e1",
},
{
'name': "StructAny{Any: false}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructAny))({
'any': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(false, true), vdl.types.BOOL),
}, true), _typeStructAny),
'typeString': "v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e15204000100e1",
'hexVersion': "80",
'hexType': "512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1",
'hexValue': "5204000100e1",
},
{
'name': "StructAny{Any: StructMap{}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructAny))({
'any': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructMap))({
'map': new Map([]),
}, true), _typeStructMap),
}, true), _typeStructAny),
'typeString': "v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e155060501090209e1532d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012be1e15204002ae1e1",
'hexVersion': "80",
'hexType': "512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e155060501090209e1532d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012be1e1",
'hexValue': "5204002ae1e1",
},
{
'name': "StructAny{Any: StructMap{Map: {0: 0}}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructAny))({
'any': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructMap))({
'map': new Map([
[new vdl.BigInt(0, new Uint8Array([])), new vdl.BigInt(0, new Uint8Array([]))]]),
}, true), _typeStructMap),
}, true), _typeStructAny),
'typeString': "v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e155060501090209e1532d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012be1e15208002a00010000e1e1",
'hexVersion': "80",
'hexType': "512d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e155060501090209e1532d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012be1e1",
'hexValue': "5208002a00010000e1e1",
},
{
'name': "?StructAny(nil)",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type9))(null, true), _type9),
'typeString': "?v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae15201e0",
'hexVersion': "80",
'hexType': "532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae1",
'hexValue': "5201e0",
},
{
'name': "?StructAny{}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type9))({
'any': null,
}, true), _type9),
'typeString': "?v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae15201e1",
'hexVersion': "80",
'hexType': "532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae1",
'hexValue': "5201e1",
},
{
'name': "?StructAny{Any: false}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type9))({
'any': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(false, true), vdl.types.BOOL),
}, true), _type9),
'typeString': "?v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae15204000100e1",
'hexVersion': "80",
'hexType': "532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae1",
'hexValue': "5204000100e1",
},
{
'name': "?StructAny{Any: StructMap{}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type9))({
'any': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructMap))({
'map': new Map([]),
}, true), _typeStructMap),
}, true), _type9),
'typeString': "?v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae157060501090209e1552d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012ce1e15204002be1e1",
'hexVersion': "80",
'hexType': "532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae157060501090209e1552d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012ce1e1",
'hexValue': "5204002be1e1",
},
{
'name': "?StructAny{Any: StructMap{Map: {0: 0}}}",
'value': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type9))({
'any': canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructMap))({
'map': new Map([
[new vdl.BigInt(0, new Uint8Array([])), new vdl.BigInt(0, new Uint8Array([]))]]),
}, true), _typeStructMap),
}, true), _type9),
'typeString': "?v.io/v23/vom/testdata.StructAny struct{Any any}",
'hex': "80532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae157060501090209e1552d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012ce1e15208002b00010000e1e1",
'hexVersion': "80",
'hexType': "532d06001f762e696f2f7632332f766f6d2f74657374646174612e537472756374416e7901010003416e79010fe1e1510408012ae157060501090209e1552d06001f762e696f2f7632332f766f6d2f74657374646174612e5374727563744d6170010100034d6170012ce1e1",
'hexValue': "5208002b00010000e1e1",
},
], true), _type1);
module.exports.CompatTests = canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type10))(new Map([
["bool", [
vdl.types.BOOL,
_typeNBool,
_typeMBool,
]],
["map[X]bool/set[X]", [
_typeSetOnlyMap,
_typeMapOnlySet,
_typeSometimesSetMap,
]],
["map[string]X/struct", [
_typeMapOnlyStruct,
_typeStructOnlyMap,
]],
["map[string]bool/set[string]/struct", [
_typeMapSetStruct,
_typeSetStructMap,
_typeMapStructSet,
]],
["number list/array", [
_type12,
_typeNArray2Uint64,
_typeNListUint64,
]],
["number", [
vdl.types.UINT16,
vdl.types.UINT32,
vdl.types.UINT64,
vdl.types.INT16,
vdl.types.INT32,
vdl.types.INT64,
vdl.types.FLOAT32,
vdl.types.FLOAT64,
vdl.types.COMPLEX64,
vdl.types.COMPLEX128,
_typeNUint16,
_typeNUint32,
_typeNUint64,
_typeNInt16,
_typeNInt32,
_typeNInt64,
_typeNFloat32,
_typeNFloat64,
_typeNComplex64,
_typeNComplex128,
]],
["string list/array", [
_type13,
_typeListString,
_typeArray3String,
_typeArray4String,
]],
["string/[]byte/enum", [
vdl.types.STRING,
_typeNString,
_type2,
_typeNByteSlice,
_typeNByteArray,
_typeNEnum,
]],
["struct A", [
_typeNStruct,
_typeAbcStruct,
_typeAdeStruct,
]],
["struct Z", [
_typeXyzStruct,
_typeYzStruct,
_typeZStruct,
]],
["typeobject", [
vdl.types.TYPEOBJECT,
]],
["union B", [
_typeNUnion,
_typeBdeUnion,
]]]), true), _type10);
module.exports.ConvertTests = canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type14))(new Map([
["array/list", [
{
'name': "[3]string",
'primaryType': _typeArray3String,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeArray3String))([
"A",
"B",
"C",
], true), _typeArray3String),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type13))([
"A",
"B",
"C",
], true), _type13),
],
},
{
'name': "[4]string",
'primaryType': _typeArray4String,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeArray4String))([
"D",
"E",
"F",
"G",
], true), _typeArray4String),
],
},
{
'name': "ByteArray",
'primaryType': _typeNByteArray,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteArray))(new Uint8Array([
5,
2,
0,
4,
]), true), _typeNByteArray),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
5,
2,
0,
4,
]), true), _type2),
],
},
]],
["bool", [
{
'name': "bool",
'primaryType': vdl.types.BOOL,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(true, true), vdl.types.BOOL),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNBool))(true, true), _typeNBool),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMBool))(true, true), _typeMBool),
],
},
]],
["number", [
{
'name': "byte",
'primaryType': vdl.types.BYTE,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BYTE))(3, true), vdl.types.BYTE),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(3, true), vdl.types.UINT16),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(3, true), vdl.types.INT32),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(3, true), vdl.types.FLOAT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x3])), true), vdl.types.INT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(3.000000, 0.000000), true), vdl.types.COMPLEX128),
],
},
{
'name': "uint16",
'primaryType': vdl.types.UINT16,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.UINT16))(256, true), vdl.types.UINT16),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(256, true), vdl.types.INT32),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(256, true), vdl.types.FLOAT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(1, new Uint8Array([0x1, 0x0])), true), vdl.types.INT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(256.000000, 0.000000), true), vdl.types.COMPLEX128),
],
},
{
'name': "int32",
'primaryType': vdl.types.INT32,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT32))(-5, true), vdl.types.INT32),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(-5, true), vdl.types.FLOAT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x5])), true), vdl.types.INT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(-5.000000, 0.000000), true), vdl.types.COMPLEX128),
],
},
{
'name': "float64",
'primaryType': vdl.types.FLOAT64,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.FLOAT64))(3.3, true), vdl.types.FLOAT64),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(3.300000, 0.000000), true), vdl.types.COMPLEX128),
],
},
{
'name': "int64",
'primaryType': vdl.types.INT64,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.INT64))(new vdl.BigInt(-1, new Uint8Array([0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0])), true), vdl.types.INT64),
],
},
{
'name': "complex128",
'primaryType': vdl.types.COMPLEX128,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.COMPLEX128))(new vdl.Complex(1.500000, -1.000000), true), vdl.types.COMPLEX128),
],
},
]],
["string, []byte, [n]byte, and enum", [
{
'name': "enum (A)",
'primaryType': _typeNEnum,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("A", true), vdl.types.STRING),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNString))("A", true), _typeNString),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNEnum))('A', true), _typeNEnum),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
65,
]), true), _type2),
],
},
{
'name': "enum (brie)",
'primaryType': _typeBrieEnum,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("Brie", true), vdl.types.STRING),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNString))("Brie", true), _typeNString),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBrieEnum))('Brie', true), _typeBrieEnum),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeFoodEnum))('Brie', true), _typeFoodEnum),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
66,
114,
105,
101,
]), true), _type2),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteArray))(new Uint8Array([
66,
114,
105,
101,
]), true), _typeNByteArray),
],
},
{
'name': "[4]byte",
'primaryType': _typeNByteArray,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("Bean", true), vdl.types.STRING),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNString))("Bean", true), _typeNString),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBeanEnum))('Bean', true), _typeBeanEnum),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeFoodEnum))('Bean', true), _typeFoodEnum),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
66,
101,
97,
110,
]), true), _type2),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteArray))(new Uint8Array([
66,
101,
97,
110,
]), true), _typeNByteArray),
],
},
{
'name': "string",
'primaryType': _typeNString,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("Cherry", true), vdl.types.STRING),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNString))("Cherry", true), _typeNString),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeFoodEnum))('Cherry', true), _typeFoodEnum),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_type2))(new Uint8Array([
67,
104,
101,
114,
114,
121,
]), true), _type2),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNByteSlice))(new Uint8Array([
67,
104,
101,
114,
114,
121,
]), true), _typeNByteSlice),
],
},
]],
["struct, map, and set", [
{
'name': "map[uint32]uint32",
'primaryType': _typeMapOnlyA,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyA))(new Map([
[4, 0],
[6, 7]]), true), _typeMapOnlyA),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyA2))(new Map([
[new vdl.BigInt(1, new Uint8Array([0x4])), 0],
[new vdl.BigInt(1, new Uint8Array([0x6])), 7]]), true), _typeMapOnlyA2),
],
},
{
'name': "map[bool]string",
'primaryType': _typeMapOnlyB,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyB))(new Map([
[true, "hello"]]), true), _typeMapOnlyB),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyB2))(new Map([
[true, "hello"]]), true), _typeMapOnlyB2),
],
},
{
'name': "set[bool]",
'primaryType': _typeSetOnlyA,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyA))(new Set([
false,
true, ]), true), _typeSetOnlyA),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyA2))(new Set([
false,
true, ]), true), _typeSetOnlyA2),
],
},
{
'name': "set[int16]",
'primaryType': _typeSetOnlyB,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyB))(new Set([
4,
6, ]), true), _typeSetOnlyB),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyB2))(new Set([
4,
6, ]), true), _typeSetOnlyB2),
],
},
{
'name': "structABC",
'primaryType': _typeAbcStruct,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeAbcStruct))({
'a': true,
'b': "",
'c': new vdl.BigInt(0, new Uint8Array([])),
}, true), _typeAbcStruct),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeAdeStruct))({
'a': true,
'd': null,
'e': vdl.types.ANY,
}, true), _typeAdeStruct),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNStruct))({
'a': true,
'b': "",
'c': new vdl.BigInt(0, new Uint8Array([])),
}, true), _typeNStruct),
],
},
{
'name': "structYz",
'primaryType': _typeYzStruct,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeXyzStruct))({
'x': false,
'y': false,
'z': "ahoy",
}, true), _typeXyzStruct),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeYzStruct))({
'y': false,
'z': "ahoy",
}, true), _typeYzStruct),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeZStruct))({
'z': "ahoy",
}, true), _typeZStruct),
],
},
{
'name': "struct+map",
'primaryType': _typeMapOnlyStruct,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeStructOnlyMap))(new Map([
["Key1", new vdl.BigInt(1, new Uint8Array([0x4]))],
["Key2", new vdl.BigInt(1, new Uint8Array([0x5]))],
["Key3", new vdl.BigInt(0, new Uint8Array([]))]]), true), _typeStructOnlyMap),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapOnlyStruct))({
'key1': new vdl.BigInt(1, new Uint8Array([0x4])),
'key2': 5,
'key3': new vdl.Complex(0.000000, 0.000000),
}, true), _typeMapOnlyStruct),
],
},
{
'name': "map+set",
'primaryType': _typeMapOnlySet,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapOnlySet))(new Set([
3.14,
8, ]), true), _typeMapOnlySet),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSometimesSetMap))(new Map([
[3.14, canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(true, true), vdl.types.BOOL)],
[8, canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(true, true), vdl.types.BOOL)]]), true), _typeSometimesSetMap),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSetOnlyMap))(new Map([
[3.14, true],
[8, true]]), true), _typeSetOnlyMap),
],
},
{
'name': "map-set",
'primaryType': _typeSetOnlyMap,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSometimesSetMap))(new Map([
[3.14, canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.STRING))("cannot be a set anymore", true), vdl.types.STRING)],
[8, canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(vdl.types.BOOL))(true, true), vdl.types.BOOL)]]), true), _typeSometimesSetMap),
],
},
{
'name': "struct+map+set",
'primaryType': _typeMapStructSet,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapStructSet))(new Set([
"Eel",
"Feat",
"Tire", ]), true), _typeMapStructSet),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeSetStructMap))(new Map([
["Eel", true],
["Feat", true],
["Tire", true]]), true), _typeSetStructMap),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeMapSetStruct))({
'feat': true,
'tire': true,
'eel': true,
}, true), _typeMapSetStruct),
],
},
]],
["typeobject", [
{
'name': "typeobject(any)",
'primaryType': vdl.types.TYPEOBJECT,
'values': [
vdl.types.ANY,
],
},
]],
["union", [
{
'name': "BdeUnion",
'primaryType': _typeBdeUnion,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeBdeUnion))({ "b": "bde" }, true), _typeBdeUnion),
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "b": "bde" }, true), _typeNUnion),
],
},
{
'name': "BdeUnion fail",
'primaryType': _typeNUnion,
'values': [
canonicalize.reduce(new (vdl.registry.lookupOrCreateConstructor(_typeNUnion))({ "a": true }, true), _typeNUnion),
],
},
]]]), true), _type14);
// Errors:
// Services: