1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00
fq/pkg/decode/scalar_gen.go.json
Mattias Wadman 1b32b42f93 decode: Major decode API refactor
Generate more code
More generic and comfortable API
Improve and Update format decoder to new API
Add some more format tests
2021-11-15 21:12:07 +01:00

566 lines
40 KiB
JSON

{
"types": {
"Str": {"go_type": "string", "zero": "\"\"", "compare": "a == b"},
"U": {"go_type": "uint64", "zero": "0", "compare": "a == b"},
"S": {"go_type": "int64", "zero": "0", "compare": "a == b"},
"F": {"go_type": "float64", "map_from": false, "zero": "0", "compare": "a == b"},
"Bool": {"go_type": "bool", "zero": "false", "compare": "a == b"},
"BitBuf": {
"go_type": "*bitio.Buffer",
"zero": "nil",
"map_from": false,
"map_to": false
}
},
"readers": [
{
"name": "Raw",
"type": "BitBuf",
"variants": [
{
"name": "Len",
"args": "nBits",
"param": "nBits int64",
"call": "d.tryBitBuf(nBits)"
}
]
},
{
"name": "Bool",
"type": "Bool",
"variants": [ {"name": "", "args": "", "param": "", "call": "d.tryBool()"} ]
},
{
"name": "U",
"type": "U",
"variants": [
{
"name": "E",
"args": "nBits, endian",
"param": "nBits int, endian Endian",
"call": "d.tryUE(nBits, endian)"
},
{
"name": "",
"args": "nBits",
"param": "nBits int",
"call": "d.tryUE(nBits, d.Endian)"
},
{"name": "1", "args": "", "param": "", "call": "d.tryUE(1, d.Endian)"},
{"name": "2", "args": "", "param": "", "call": "d.tryUE(2, d.Endian)"},
{"name": "3", "args": "", "param": "", "call": "d.tryUE(3, d.Endian)"},
{"name": "4", "args": "", "param": "", "call": "d.tryUE(4, d.Endian)"},
{"name": "5", "args": "", "param": "", "call": "d.tryUE(5, d.Endian)"},
{"name": "6", "args": "", "param": "", "call": "d.tryUE(6, d.Endian)"},
{"name": "7", "args": "", "param": "", "call": "d.tryUE(7, d.Endian)"},
{"name": "8", "args": "", "param": "", "call": "d.tryUE(8, d.Endian)"},
{"name": "9", "args": "", "param": "", "call": "d.tryUE(9, d.Endian)"},
{"name": "10", "args": "", "param": "", "call": "d.tryUE(10, d.Endian)"},
{"name": "11", "args": "", "param": "", "call": "d.tryUE(11, d.Endian)"},
{"name": "12", "args": "", "param": "", "call": "d.tryUE(12, d.Endian)"},
{"name": "13", "args": "", "param": "", "call": "d.tryUE(13, d.Endian)"},
{"name": "14", "args": "", "param": "", "call": "d.tryUE(14, d.Endian)"},
{"name": "15", "args": "", "param": "", "call": "d.tryUE(15, d.Endian)"},
{"name": "16", "args": "", "param": "", "call": "d.tryUE(16, d.Endian)"},
{"name": "17", "args": "", "param": "", "call": "d.tryUE(17, d.Endian)"},
{"name": "18", "args": "", "param": "", "call": "d.tryUE(18, d.Endian)"},
{"name": "19", "args": "", "param": "", "call": "d.tryUE(19, d.Endian)"},
{"name": "20", "args": "", "param": "", "call": "d.tryUE(20, d.Endian)"},
{"name": "21", "args": "", "param": "", "call": "d.tryUE(21, d.Endian)"},
{"name": "22", "args": "", "param": "", "call": "d.tryUE(22, d.Endian)"},
{"name": "23", "args": "", "param": "", "call": "d.tryUE(23, d.Endian)"},
{"name": "24", "args": "", "param": "", "call": "d.tryUE(24, d.Endian)"},
{"name": "25", "args": "", "param": "", "call": "d.tryUE(25, d.Endian)"},
{"name": "26", "args": "", "param": "", "call": "d.tryUE(26, d.Endian)"},
{"name": "27", "args": "", "param": "", "call": "d.tryUE(27, d.Endian)"},
{"name": "28", "args": "", "param": "", "call": "d.tryUE(28, d.Endian)"},
{"name": "29", "args": "", "param": "", "call": "d.tryUE(29, d.Endian)"},
{"name": "30", "args": "", "param": "", "call": "d.tryUE(30, d.Endian)"},
{"name": "31", "args": "", "param": "", "call": "d.tryUE(31, d.Endian)"},
{"name": "32", "args": "", "param": "", "call": "d.tryUE(32, d.Endian)"},
{"name": "33", "args": "", "param": "", "call": "d.tryUE(33, d.Endian)"},
{"name": "34", "args": "", "param": "", "call": "d.tryUE(34, d.Endian)"},
{"name": "35", "args": "", "param": "", "call": "d.tryUE(35, d.Endian)"},
{"name": "36", "args": "", "param": "", "call": "d.tryUE(36, d.Endian)"},
{"name": "37", "args": "", "param": "", "call": "d.tryUE(37, d.Endian)"},
{"name": "38", "args": "", "param": "", "call": "d.tryUE(38, d.Endian)"},
{"name": "39", "args": "", "param": "", "call": "d.tryUE(39, d.Endian)"},
{"name": "40", "args": "", "param": "", "call": "d.tryUE(40, d.Endian)"},
{"name": "41", "args": "", "param": "", "call": "d.tryUE(41, d.Endian)"},
{"name": "42", "args": "", "param": "", "call": "d.tryUE(42, d.Endian)"},
{"name": "43", "args": "", "param": "", "call": "d.tryUE(43, d.Endian)"},
{"name": "44", "args": "", "param": "", "call": "d.tryUE(44, d.Endian)"},
{"name": "45", "args": "", "param": "", "call": "d.tryUE(45, d.Endian)"},
{"name": "46", "args": "", "param": "", "call": "d.tryUE(46, d.Endian)"},
{"name": "47", "args": "", "param": "", "call": "d.tryUE(47, d.Endian)"},
{"name": "48", "args": "", "param": "", "call": "d.tryUE(48, d.Endian)"},
{"name": "49", "args": "", "param": "", "call": "d.tryUE(49, d.Endian)"},
{"name": "50", "args": "", "param": "", "call": "d.tryUE(50, d.Endian)"},
{"name": "51", "args": "", "param": "", "call": "d.tryUE(51, d.Endian)"},
{"name": "52", "args": "", "param": "", "call": "d.tryUE(52, d.Endian)"},
{"name": "53", "args": "", "param": "", "call": "d.tryUE(53, d.Endian)"},
{"name": "54", "args": "", "param": "", "call": "d.tryUE(54, d.Endian)"},
{"name": "55", "args": "", "param": "", "call": "d.tryUE(55, d.Endian)"},
{"name": "56", "args": "", "param": "", "call": "d.tryUE(56, d.Endian)"},
{"name": "57", "args": "", "param": "", "call": "d.tryUE(57, d.Endian)"},
{"name": "58", "args": "", "param": "", "call": "d.tryUE(58, d.Endian)"},
{"name": "59", "args": "", "param": "", "call": "d.tryUE(59, d.Endian)"},
{"name": "60", "args": "", "param": "", "call": "d.tryUE(60, d.Endian)"},
{"name": "61", "args": "", "param": "", "call": "d.tryUE(61, d.Endian)"},
{"name": "62", "args": "", "param": "", "call": "d.tryUE(62, d.Endian)"},
{"name": "63", "args": "", "param": "", "call": "d.tryUE(63, d.Endian)"},
{"name": "64", "args": "", "param": "", "call": "d.tryUE(64, d.Endian)"},
{"name": "8LE", "args": "", "param": "", "call": "d.tryUE(8, LittleEndian)"},
{"name": "9LE", "args": "", "param": "", "call": "d.tryUE(9, LittleEndian)"},
{"name": "10LE", "args": "", "param": "", "call": "d.tryUE(10, LittleEndian)"},
{"name": "11LE", "args": "", "param": "", "call": "d.tryUE(11, LittleEndian)"},
{"name": "12LE", "args": "", "param": "", "call": "d.tryUE(12, LittleEndian)"},
{"name": "13LE", "args": "", "param": "", "call": "d.tryUE(13, LittleEndian)"},
{"name": "14LE", "args": "", "param": "", "call": "d.tryUE(14, LittleEndian)"},
{"name": "15LE", "args": "", "param": "", "call": "d.tryUE(15, LittleEndian)"},
{"name": "16LE", "args": "", "param": "", "call": "d.tryUE(16, LittleEndian)"},
{"name": "17LE", "args": "", "param": "", "call": "d.tryUE(17, LittleEndian)"},
{"name": "18LE", "args": "", "param": "", "call": "d.tryUE(18, LittleEndian)"},
{"name": "19LE", "args": "", "param": "", "call": "d.tryUE(19, LittleEndian)"},
{"name": "20LE", "args": "", "param": "", "call": "d.tryUE(20, LittleEndian)"},
{"name": "21LE", "args": "", "param": "", "call": "d.tryUE(21, LittleEndian)"},
{"name": "22LE", "args": "", "param": "", "call": "d.tryUE(22, LittleEndian)"},
{"name": "23LE", "args": "", "param": "", "call": "d.tryUE(23, LittleEndian)"},
{"name": "24LE", "args": "", "param": "", "call": "d.tryUE(24, LittleEndian)"},
{"name": "25LE", "args": "", "param": "", "call": "d.tryUE(25, LittleEndian)"},
{"name": "26LE", "args": "", "param": "", "call": "d.tryUE(26, LittleEndian)"},
{"name": "27LE", "args": "", "param": "", "call": "d.tryUE(27, LittleEndian)"},
{"name": "28LE", "args": "", "param": "", "call": "d.tryUE(28, LittleEndian)"},
{"name": "29LE", "args": "", "param": "", "call": "d.tryUE(29, LittleEndian)"},
{"name": "30LE", "args": "", "param": "", "call": "d.tryUE(30, LittleEndian)"},
{"name": "31LE", "args": "", "param": "", "call": "d.tryUE(31, LittleEndian)"},
{"name": "32LE", "args": "", "param": "", "call": "d.tryUE(32, LittleEndian)"},
{"name": "33LE", "args": "", "param": "", "call": "d.tryUE(33, LittleEndian)"},
{"name": "34LE", "args": "", "param": "", "call": "d.tryUE(34, LittleEndian)"},
{"name": "35LE", "args": "", "param": "", "call": "d.tryUE(35, LittleEndian)"},
{"name": "36LE", "args": "", "param": "", "call": "d.tryUE(36, LittleEndian)"},
{"name": "37LE", "args": "", "param": "", "call": "d.tryUE(37, LittleEndian)"},
{"name": "38LE", "args": "", "param": "", "call": "d.tryUE(38, LittleEndian)"},
{"name": "39LE", "args": "", "param": "", "call": "d.tryUE(39, LittleEndian)"},
{"name": "40LE", "args": "", "param": "", "call": "d.tryUE(40, LittleEndian)"},
{"name": "41LE", "args": "", "param": "", "call": "d.tryUE(41, LittleEndian)"},
{"name": "42LE", "args": "", "param": "", "call": "d.tryUE(42, LittleEndian)"},
{"name": "43LE", "args": "", "param": "", "call": "d.tryUE(43, LittleEndian)"},
{"name": "44LE", "args": "", "param": "", "call": "d.tryUE(44, LittleEndian)"},
{"name": "45LE", "args": "", "param": "", "call": "d.tryUE(45, LittleEndian)"},
{"name": "46LE", "args": "", "param": "", "call": "d.tryUE(46, LittleEndian)"},
{"name": "47LE", "args": "", "param": "", "call": "d.tryUE(47, LittleEndian)"},
{"name": "48LE", "args": "", "param": "", "call": "d.tryUE(48, LittleEndian)"},
{"name": "49LE", "args": "", "param": "", "call": "d.tryUE(49, LittleEndian)"},
{"name": "50LE", "args": "", "param": "", "call": "d.tryUE(50, LittleEndian)"},
{"name": "51LE", "args": "", "param": "", "call": "d.tryUE(51, LittleEndian)"},
{"name": "52LE", "args": "", "param": "", "call": "d.tryUE(52, LittleEndian)"},
{"name": "53LE", "args": "", "param": "", "call": "d.tryUE(53, LittleEndian)"},
{"name": "54LE", "args": "", "param": "", "call": "d.tryUE(54, LittleEndian)"},
{"name": "55LE", "args": "", "param": "", "call": "d.tryUE(55, LittleEndian)"},
{"name": "56LE", "args": "", "param": "", "call": "d.tryUE(56, LittleEndian)"},
{"name": "57LE", "args": "", "param": "", "call": "d.tryUE(57, LittleEndian)"},
{"name": "58LE", "args": "", "param": "", "call": "d.tryUE(58, LittleEndian)"},
{"name": "59LE", "args": "", "param": "", "call": "d.tryUE(59, LittleEndian)"},
{"name": "60LE", "args": "", "param": "", "call": "d.tryUE(60, LittleEndian)"},
{"name": "61LE", "args": "", "param": "", "call": "d.tryUE(61, LittleEndian)"},
{"name": "62LE", "args": "", "param": "", "call": "d.tryUE(62, LittleEndian)"},
{"name": "63LE", "args": "", "param": "", "call": "d.tryUE(63, LittleEndian)"},
{"name": "64LE", "args": "", "param": "", "call": "d.tryUE(64, LittleEndian)"},
{"name": "8BE", "args": "", "param": "", "call": "d.tryUE(8, BigEndian)"},
{"name": "9BE", "args": "", "param": "", "call": "d.tryUE(9, BigEndian)"},
{"name": "10BE", "args": "", "param": "", "call": "d.tryUE(10, BigEndian)"},
{"name": "11BE", "args": "", "param": "", "call": "d.tryUE(11, BigEndian)"},
{"name": "12BE", "args": "", "param": "", "call": "d.tryUE(12, BigEndian)"},
{"name": "13BE", "args": "", "param": "", "call": "d.tryUE(13, BigEndian)"},
{"name": "14BE", "args": "", "param": "", "call": "d.tryUE(14, BigEndian)"},
{"name": "15BE", "args": "", "param": "", "call": "d.tryUE(15, BigEndian)"},
{"name": "16BE", "args": "", "param": "", "call": "d.tryUE(16, BigEndian)"},
{"name": "17BE", "args": "", "param": "", "call": "d.tryUE(17, BigEndian)"},
{"name": "18BE", "args": "", "param": "", "call": "d.tryUE(18, BigEndian)"},
{"name": "19BE", "args": "", "param": "", "call": "d.tryUE(19, BigEndian)"},
{"name": "20BE", "args": "", "param": "", "call": "d.tryUE(20, BigEndian)"},
{"name": "21BE", "args": "", "param": "", "call": "d.tryUE(21, BigEndian)"},
{"name": "22BE", "args": "", "param": "", "call": "d.tryUE(22, BigEndian)"},
{"name": "23BE", "args": "", "param": "", "call": "d.tryUE(23, BigEndian)"},
{"name": "24BE", "args": "", "param": "", "call": "d.tryUE(24, BigEndian)"},
{"name": "25BE", "args": "", "param": "", "call": "d.tryUE(25, BigEndian)"},
{"name": "26BE", "args": "", "param": "", "call": "d.tryUE(26, BigEndian)"},
{"name": "27BE", "args": "", "param": "", "call": "d.tryUE(27, BigEndian)"},
{"name": "28BE", "args": "", "param": "", "call": "d.tryUE(28, BigEndian)"},
{"name": "29BE", "args": "", "param": "", "call": "d.tryUE(29, BigEndian)"},
{"name": "30BE", "args": "", "param": "", "call": "d.tryUE(30, BigEndian)"},
{"name": "31BE", "args": "", "param": "", "call": "d.tryUE(31, BigEndian)"},
{"name": "32BE", "args": "", "param": "", "call": "d.tryUE(32, BigEndian)"},
{"name": "33BE", "args": "", "param": "", "call": "d.tryUE(33, BigEndian)"},
{"name": "34BE", "args": "", "param": "", "call": "d.tryUE(34, BigEndian)"},
{"name": "35BE", "args": "", "param": "", "call": "d.tryUE(35, BigEndian)"},
{"name": "36BE", "args": "", "param": "", "call": "d.tryUE(36, BigEndian)"},
{"name": "37BE", "args": "", "param": "", "call": "d.tryUE(37, BigEndian)"},
{"name": "38BE", "args": "", "param": "", "call": "d.tryUE(38, BigEndian)"},
{"name": "39BE", "args": "", "param": "", "call": "d.tryUE(39, BigEndian)"},
{"name": "40BE", "args": "", "param": "", "call": "d.tryUE(40, BigEndian)"},
{"name": "41BE", "args": "", "param": "", "call": "d.tryUE(41, BigEndian)"},
{"name": "42BE", "args": "", "param": "", "call": "d.tryUE(42, BigEndian)"},
{"name": "43BE", "args": "", "param": "", "call": "d.tryUE(43, BigEndian)"},
{"name": "44BE", "args": "", "param": "", "call": "d.tryUE(44, BigEndian)"},
{"name": "45BE", "args": "", "param": "", "call": "d.tryUE(45, BigEndian)"},
{"name": "46BE", "args": "", "param": "", "call": "d.tryUE(46, BigEndian)"},
{"name": "47BE", "args": "", "param": "", "call": "d.tryUE(47, BigEndian)"},
{"name": "48BE", "args": "", "param": "", "call": "d.tryUE(48, BigEndian)"},
{"name": "49BE", "args": "", "param": "", "call": "d.tryUE(49, BigEndian)"},
{"name": "50BE", "args": "", "param": "", "call": "d.tryUE(50, BigEndian)"},
{"name": "51BE", "args": "", "param": "", "call": "d.tryUE(51, BigEndian)"},
{"name": "52BE", "args": "", "param": "", "call": "d.tryUE(52, BigEndian)"},
{"name": "53BE", "args": "", "param": "", "call": "d.tryUE(53, BigEndian)"},
{"name": "54BE", "args": "", "param": "", "call": "d.tryUE(54, BigEndian)"},
{"name": "55BE", "args": "", "param": "", "call": "d.tryUE(55, BigEndian)"},
{"name": "56BE", "args": "", "param": "", "call": "d.tryUE(56, BigEndian)"},
{"name": "57BE", "args": "", "param": "", "call": "d.tryUE(57, BigEndian)"},
{"name": "58BE", "args": "", "param": "", "call": "d.tryUE(58, BigEndian)"},
{"name": "59BE", "args": "", "param": "", "call": "d.tryUE(59, BigEndian)"},
{"name": "60BE", "args": "", "param": "", "call": "d.tryUE(60, BigEndian)"},
{"name": "61BE", "args": "", "param": "", "call": "d.tryUE(61, BigEndian)"},
{"name": "62BE", "args": "", "param": "", "call": "d.tryUE(62, BigEndian)"},
{"name": "63BE", "args": "", "param": "", "call": "d.tryUE(63, BigEndian)"},
{"name": "64BE", "args": "", "param": "", "call": "d.tryUE(64, BigEndian)"}
]
},
{
"name": "S",
"type": "S",
"variants": [
{
"name": "E",
"args": "nBits, endian",
"param": "nBits int, endian Endian",
"call": "d.trySE(nBits, endian)"
},
{
"name": "",
"args": "nBits",
"param": "nBits int",
"call": "d.trySE(nBits, d.Endian)"
},
{"name": "1", "args": "", "param": "", "call": "d.trySE(1, d.Endian)"},
{"name": "2", "args": "", "param": "", "call": "d.trySE(2, d.Endian)"},
{"name": "3", "args": "", "param": "", "call": "d.trySE(3, d.Endian)"},
{"name": "4", "args": "", "param": "", "call": "d.trySE(4, d.Endian)"},
{"name": "5", "args": "", "param": "", "call": "d.trySE(5, d.Endian)"},
{"name": "6", "args": "", "param": "", "call": "d.trySE(6, d.Endian)"},
{"name": "7", "args": "", "param": "", "call": "d.trySE(7, d.Endian)"},
{"name": "8", "args": "", "param": "", "call": "d.trySE(8, d.Endian)"},
{"name": "9", "args": "", "param": "", "call": "d.trySE(9, d.Endian)"},
{"name": "10", "args": "", "param": "", "call": "d.trySE(10, d.Endian)"},
{"name": "11", "args": "", "param": "", "call": "d.trySE(11, d.Endian)"},
{"name": "12", "args": "", "param": "", "call": "d.trySE(12, d.Endian)"},
{"name": "13", "args": "", "param": "", "call": "d.trySE(13, d.Endian)"},
{"name": "14", "args": "", "param": "", "call": "d.trySE(14, d.Endian)"},
{"name": "15", "args": "", "param": "", "call": "d.trySE(15, d.Endian)"},
{"name": "16", "args": "", "param": "", "call": "d.trySE(16, d.Endian)"},
{"name": "17", "args": "", "param": "", "call": "d.trySE(17, d.Endian)"},
{"name": "18", "args": "", "param": "", "call": "d.trySE(18, d.Endian)"},
{"name": "19", "args": "", "param": "", "call": "d.trySE(19, d.Endian)"},
{"name": "20", "args": "", "param": "", "call": "d.trySE(20, d.Endian)"},
{"name": "21", "args": "", "param": "", "call": "d.trySE(21, d.Endian)"},
{"name": "22", "args": "", "param": "", "call": "d.trySE(22, d.Endian)"},
{"name": "23", "args": "", "param": "", "call": "d.trySE(23, d.Endian)"},
{"name": "24", "args": "", "param": "", "call": "d.trySE(24, d.Endian)"},
{"name": "25", "args": "", "param": "", "call": "d.trySE(25, d.Endian)"},
{"name": "26", "args": "", "param": "", "call": "d.trySE(26, d.Endian)"},
{"name": "27", "args": "", "param": "", "call": "d.trySE(27, d.Endian)"},
{"name": "28", "args": "", "param": "", "call": "d.trySE(28, d.Endian)"},
{"name": "29", "args": "", "param": "", "call": "d.trySE(29, d.Endian)"},
{"name": "30", "args": "", "param": "", "call": "d.trySE(30, d.Endian)"},
{"name": "31", "args": "", "param": "", "call": "d.trySE(31, d.Endian)"},
{"name": "32", "args": "", "param": "", "call": "d.trySE(32, d.Endian)"},
{"name": "33", "args": "", "param": "", "call": "d.trySE(33, d.Endian)"},
{"name": "34", "args": "", "param": "", "call": "d.trySE(34, d.Endian)"},
{"name": "35", "args": "", "param": "", "call": "d.trySE(35, d.Endian)"},
{"name": "36", "args": "", "param": "", "call": "d.trySE(36, d.Endian)"},
{"name": "37", "args": "", "param": "", "call": "d.trySE(37, d.Endian)"},
{"name": "38", "args": "", "param": "", "call": "d.trySE(38, d.Endian)"},
{"name": "39", "args": "", "param": "", "call": "d.trySE(39, d.Endian)"},
{"name": "40", "args": "", "param": "", "call": "d.trySE(40, d.Endian)"},
{"name": "41", "args": "", "param": "", "call": "d.trySE(41, d.Endian)"},
{"name": "42", "args": "", "param": "", "call": "d.trySE(42, d.Endian)"},
{"name": "43", "args": "", "param": "", "call": "d.trySE(43, d.Endian)"},
{"name": "44", "args": "", "param": "", "call": "d.trySE(44, d.Endian)"},
{"name": "45", "args": "", "param": "", "call": "d.trySE(45, d.Endian)"},
{"name": "46", "args": "", "param": "", "call": "d.trySE(46, d.Endian)"},
{"name": "47", "args": "", "param": "", "call": "d.trySE(47, d.Endian)"},
{"name": "48", "args": "", "param": "", "call": "d.trySE(48, d.Endian)"},
{"name": "49", "args": "", "param": "", "call": "d.trySE(49, d.Endian)"},
{"name": "50", "args": "", "param": "", "call": "d.trySE(50, d.Endian)"},
{"name": "51", "args": "", "param": "", "call": "d.trySE(51, d.Endian)"},
{"name": "52", "args": "", "param": "", "call": "d.trySE(52, d.Endian)"},
{"name": "53", "args": "", "param": "", "call": "d.trySE(53, d.Endian)"},
{"name": "54", "args": "", "param": "", "call": "d.trySE(54, d.Endian)"},
{"name": "55", "args": "", "param": "", "call": "d.trySE(55, d.Endian)"},
{"name": "56", "args": "", "param": "", "call": "d.trySE(56, d.Endian)"},
{"name": "57", "args": "", "param": "", "call": "d.trySE(57, d.Endian)"},
{"name": "58", "args": "", "param": "", "call": "d.trySE(58, d.Endian)"},
{"name": "59", "args": "", "param": "", "call": "d.trySE(59, d.Endian)"},
{"name": "60", "args": "", "param": "", "call": "d.trySE(60, d.Endian)"},
{"name": "61", "args": "", "param": "", "call": "d.trySE(61, d.Endian)"},
{"name": "62", "args": "", "param": "", "call": "d.trySE(62, d.Endian)"},
{"name": "63", "args": "", "param": "", "call": "d.trySE(63, d.Endian)"},
{"name": "64", "args": "", "param": "", "call": "d.trySE(64, d.Endian)"},
{"name": "8LE", "args": "", "param": "", "call": "d.trySE(8, LittleEndian)"},
{"name": "9LE", "args": "", "param": "", "call": "d.trySE(9, LittleEndian)"},
{"name": "10LE", "args": "", "param": "", "call": "d.trySE(10, LittleEndian)"},
{"name": "11LE", "args": "", "param": "", "call": "d.trySE(11, LittleEndian)"},
{"name": "12LE", "args": "", "param": "", "call": "d.trySE(12, LittleEndian)"},
{"name": "13LE", "args": "", "param": "", "call": "d.trySE(13, LittleEndian)"},
{"name": "14LE", "args": "", "param": "", "call": "d.trySE(14, LittleEndian)"},
{"name": "15LE", "args": "", "param": "", "call": "d.trySE(15, LittleEndian)"},
{"name": "16LE", "args": "", "param": "", "call": "d.trySE(16, LittleEndian)"},
{"name": "17LE", "args": "", "param": "", "call": "d.trySE(17, LittleEndian)"},
{"name": "18LE", "args": "", "param": "", "call": "d.trySE(18, LittleEndian)"},
{"name": "19LE", "args": "", "param": "", "call": "d.trySE(19, LittleEndian)"},
{"name": "20LE", "args": "", "param": "", "call": "d.trySE(20, LittleEndian)"},
{"name": "21LE", "args": "", "param": "", "call": "d.trySE(21, LittleEndian)"},
{"name": "22LE", "args": "", "param": "", "call": "d.trySE(22, LittleEndian)"},
{"name": "23LE", "args": "", "param": "", "call": "d.trySE(23, LittleEndian)"},
{"name": "24LE", "args": "", "param": "", "call": "d.trySE(24, LittleEndian)"},
{"name": "25LE", "args": "", "param": "", "call": "d.trySE(25, LittleEndian)"},
{"name": "26LE", "args": "", "param": "", "call": "d.trySE(26, LittleEndian)"},
{"name": "27LE", "args": "", "param": "", "call": "d.trySE(27, LittleEndian)"},
{"name": "28LE", "args": "", "param": "", "call": "d.trySE(28, LittleEndian)"},
{"name": "29LE", "args": "", "param": "", "call": "d.trySE(29, LittleEndian)"},
{"name": "30LE", "args": "", "param": "", "call": "d.trySE(30, LittleEndian)"},
{"name": "31LE", "args": "", "param": "", "call": "d.trySE(31, LittleEndian)"},
{"name": "32LE", "args": "", "param": "", "call": "d.trySE(32, LittleEndian)"},
{"name": "33LE", "args": "", "param": "", "call": "d.trySE(33, LittleEndian)"},
{"name": "34LE", "args": "", "param": "", "call": "d.trySE(34, LittleEndian)"},
{"name": "35LE", "args": "", "param": "", "call": "d.trySE(35, LittleEndian)"},
{"name": "36LE", "args": "", "param": "", "call": "d.trySE(36, LittleEndian)"},
{"name": "37LE", "args": "", "param": "", "call": "d.trySE(37, LittleEndian)"},
{"name": "38LE", "args": "", "param": "", "call": "d.trySE(38, LittleEndian)"},
{"name": "39LE", "args": "", "param": "", "call": "d.trySE(39, LittleEndian)"},
{"name": "40LE", "args": "", "param": "", "call": "d.trySE(40, LittleEndian)"},
{"name": "41LE", "args": "", "param": "", "call": "d.trySE(41, LittleEndian)"},
{"name": "42LE", "args": "", "param": "", "call": "d.trySE(42, LittleEndian)"},
{"name": "43LE", "args": "", "param": "", "call": "d.trySE(43, LittleEndian)"},
{"name": "44LE", "args": "", "param": "", "call": "d.trySE(44, LittleEndian)"},
{"name": "45LE", "args": "", "param": "", "call": "d.trySE(45, LittleEndian)"},
{"name": "46LE", "args": "", "param": "", "call": "d.trySE(46, LittleEndian)"},
{"name": "47LE", "args": "", "param": "", "call": "d.trySE(47, LittleEndian)"},
{"name": "48LE", "args": "", "param": "", "call": "d.trySE(48, LittleEndian)"},
{"name": "49LE", "args": "", "param": "", "call": "d.trySE(49, LittleEndian)"},
{"name": "50LE", "args": "", "param": "", "call": "d.trySE(50, LittleEndian)"},
{"name": "51LE", "args": "", "param": "", "call": "d.trySE(51, LittleEndian)"},
{"name": "52LE", "args": "", "param": "", "call": "d.trySE(52, LittleEndian)"},
{"name": "53LE", "args": "", "param": "", "call": "d.trySE(53, LittleEndian)"},
{"name": "54LE", "args": "", "param": "", "call": "d.trySE(54, LittleEndian)"},
{"name": "55LE", "args": "", "param": "", "call": "d.trySE(55, LittleEndian)"},
{"name": "56LE", "args": "", "param": "", "call": "d.trySE(56, LittleEndian)"},
{"name": "57LE", "args": "", "param": "", "call": "d.trySE(57, LittleEndian)"},
{"name": "58LE", "args": "", "param": "", "call": "d.trySE(58, LittleEndian)"},
{"name": "59LE", "args": "", "param": "", "call": "d.trySE(59, LittleEndian)"},
{"name": "60LE", "args": "", "param": "", "call": "d.trySE(60, LittleEndian)"},
{"name": "61LE", "args": "", "param": "", "call": "d.trySE(61, LittleEndian)"},
{"name": "62LE", "args": "", "param": "", "call": "d.trySE(62, LittleEndian)"},
{"name": "63LE", "args": "", "param": "", "call": "d.trySE(63, LittleEndian)"},
{"name": "64LE", "args": "", "param": "", "call": "d.trySE(64, LittleEndian)"},
{"name": "8BE", "args": "", "param": "", "call": "d.trySE(8, BigEndian)"},
{"name": "9BE", "args": "", "param": "", "call": "d.trySE(9, BigEndian)"},
{"name": "10BE", "args": "", "param": "", "call": "d.trySE(10, BigEndian)"},
{"name": "11BE", "args": "", "param": "", "call": "d.trySE(11, BigEndian)"},
{"name": "12BE", "args": "", "param": "", "call": "d.trySE(12, BigEndian)"},
{"name": "13BE", "args": "", "param": "", "call": "d.trySE(13, BigEndian)"},
{"name": "14BE", "args": "", "param": "", "call": "d.trySE(14, BigEndian)"},
{"name": "15BE", "args": "", "param": "", "call": "d.trySE(15, BigEndian)"},
{"name": "16BE", "args": "", "param": "", "call": "d.trySE(16, BigEndian)"},
{"name": "17BE", "args": "", "param": "", "call": "d.trySE(17, BigEndian)"},
{"name": "18BE", "args": "", "param": "", "call": "d.trySE(18, BigEndian)"},
{"name": "19BE", "args": "", "param": "", "call": "d.trySE(19, BigEndian)"},
{"name": "20BE", "args": "", "param": "", "call": "d.trySE(20, BigEndian)"},
{"name": "21BE", "args": "", "param": "", "call": "d.trySE(21, BigEndian)"},
{"name": "22BE", "args": "", "param": "", "call": "d.trySE(22, BigEndian)"},
{"name": "23BE", "args": "", "param": "", "call": "d.trySE(23, BigEndian)"},
{"name": "24BE", "args": "", "param": "", "call": "d.trySE(24, BigEndian)"},
{"name": "25BE", "args": "", "param": "", "call": "d.trySE(25, BigEndian)"},
{"name": "26BE", "args": "", "param": "", "call": "d.trySE(26, BigEndian)"},
{"name": "27BE", "args": "", "param": "", "call": "d.trySE(27, BigEndian)"},
{"name": "28BE", "args": "", "param": "", "call": "d.trySE(28, BigEndian)"},
{"name": "29BE", "args": "", "param": "", "call": "d.trySE(29, BigEndian)"},
{"name": "30BE", "args": "", "param": "", "call": "d.trySE(30, BigEndian)"},
{"name": "31BE", "args": "", "param": "", "call": "d.trySE(31, BigEndian)"},
{"name": "32BE", "args": "", "param": "", "call": "d.trySE(32, BigEndian)"},
{"name": "33BE", "args": "", "param": "", "call": "d.trySE(33, BigEndian)"},
{"name": "34BE", "args": "", "param": "", "call": "d.trySE(34, BigEndian)"},
{"name": "35BE", "args": "", "param": "", "call": "d.trySE(35, BigEndian)"},
{"name": "36BE", "args": "", "param": "", "call": "d.trySE(36, BigEndian)"},
{"name": "37BE", "args": "", "param": "", "call": "d.trySE(37, BigEndian)"},
{"name": "38BE", "args": "", "param": "", "call": "d.trySE(38, BigEndian)"},
{"name": "39BE", "args": "", "param": "", "call": "d.trySE(39, BigEndian)"},
{"name": "40BE", "args": "", "param": "", "call": "d.trySE(40, BigEndian)"},
{"name": "41BE", "args": "", "param": "", "call": "d.trySE(41, BigEndian)"},
{"name": "42BE", "args": "", "param": "", "call": "d.trySE(42, BigEndian)"},
{"name": "43BE", "args": "", "param": "", "call": "d.trySE(43, BigEndian)"},
{"name": "44BE", "args": "", "param": "", "call": "d.trySE(44, BigEndian)"},
{"name": "45BE", "args": "", "param": "", "call": "d.trySE(45, BigEndian)"},
{"name": "46BE", "args": "", "param": "", "call": "d.trySE(46, BigEndian)"},
{"name": "47BE", "args": "", "param": "", "call": "d.trySE(47, BigEndian)"},
{"name": "48BE", "args": "", "param": "", "call": "d.trySE(48, BigEndian)"},
{"name": "49BE", "args": "", "param": "", "call": "d.trySE(49, BigEndian)"},
{"name": "50BE", "args": "", "param": "", "call": "d.trySE(50, BigEndian)"},
{"name": "51BE", "args": "", "param": "", "call": "d.trySE(51, BigEndian)"},
{"name": "52BE", "args": "", "param": "", "call": "d.trySE(52, BigEndian)"},
{"name": "53BE", "args": "", "param": "", "call": "d.trySE(53, BigEndian)"},
{"name": "54BE", "args": "", "param": "", "call": "d.trySE(54, BigEndian)"},
{"name": "55BE", "args": "", "param": "", "call": "d.trySE(55, BigEndian)"},
{"name": "56BE", "args": "", "param": "", "call": "d.trySE(56, BigEndian)"},
{"name": "57BE", "args": "", "param": "", "call": "d.trySE(57, BigEndian)"},
{"name": "58BE", "args": "", "param": "", "call": "d.trySE(58, BigEndian)"},
{"name": "59BE", "args": "", "param": "", "call": "d.trySE(59, BigEndian)"},
{"name": "60BE", "args": "", "param": "", "call": "d.trySE(60, BigEndian)"},
{"name": "61BE", "args": "", "param": "", "call": "d.trySE(61, BigEndian)"},
{"name": "62BE", "args": "", "param": "", "call": "d.trySE(62, BigEndian)"},
{"name": "63BE", "args": "", "param": "", "call": "d.trySE(63, BigEndian)"},
{"name": "64BE", "args": "", "param": "", "call": "d.trySE(64, BigEndian)"}
]
},
{
"name": "F",
"type": "F",
"variants": [
{
"name": "E",
"args": "nBits, endian",
"param": "nBits int, endian Endian",
"call": "d.tryFE(nBits, endian)"
},
{
"name": "",
"args": "nBits",
"param": "nBits int",
"call": "d.tryFE(nBits, d.Endian)"
},
{"name": "16", "args": "", "param": "", "call": "d.tryFE(16, d.Endian)"},
{"name": "32", "args": "", "param": "", "call": "d.tryFE(32, d.Endian)"},
{"name": "64", "args": "", "param": "", "call": "d.tryFE(64, d.Endian)"},
{"name": "16LE", "args": "", "param": "", "call": "d.tryFE(16, LittleEndian)"},
{"name": "32LE", "args": "", "param": "", "call": "d.tryFE(32, LittleEndian)"},
{"name": "64LE", "args": "", "param": "", "call": "d.tryFE(64, LittleEndian)"},
{"name": "16BE", "args": "", "param": "", "call": "d.tryFE(16, BigEndian)"},
{"name": "32BE", "args": "", "param": "", "call": "d.tryFE(32, BigEndian)"},
{"name": "64BE", "args": "", "param": "", "call": "d.tryFE(64, BigEndian)"}
]
},
{
"name": "FP",
"type": "F",
"variants": [
{
"name": "E",
"args": "nBits, fBits, endian",
"param": "nBits int, fBits int64, endian Endian",
"call": "d.tryFPE(nBits, fBits, endian)"
},
{
"name": "",
"args": "nBits, fBits",
"param": "nBits int, fBits int64",
"call": "d.tryFPE(nBits, fBits, d.Endian)"
},
{"name": "16", "args": "", "param": "", "call": "d.tryFPE(16, 8, d.Endian)"},
{"name": "32", "args": "", "param": "", "call": "d.tryFPE(32, 16, d.Endian)"},
{"name": "64", "args": "", "param": "", "call": "d.tryFPE(64, 32, d.Endian)"},
{
"name": "16LE",
"args": "",
"param": "",
"call": "d.tryFPE(16, 8, LittleEndian)"
},
{
"name": "32LE",
"args": "",
"param": "",
"call": "d.tryFPE(32, 16, LittleEndian)"
},
{
"name": "64LE",
"args": "",
"param": "",
"call": "d.tryFPE(64, 32, LittleEndian)"
},
{"name": "16BE", "args": "", "param": "", "call": "d.tryFPE(16, 8, BigEndian)"},
{"name": "32BE", "args": "", "param": "", "call": "d.tryFPE(32, 16, BigEndian)"},
{"name": "64BE", "args": "", "param": "", "call": "d.tryFPE(64, 32, BigEndian)"}
]
},
{
"name": "Unary",
"type": "U",
"variants": [ {"name": "", "args": "ov", "param": "ov uint64", "call": "d.tryUnary(ov)"} ]
},
{
"type": "Str",
"name": "UTF",
"variants": [
{
"name": "8",
"args": "nBytes",
"param": "nBytes int",
"call": "d.tryText(nBytes, UTF8BOM)"
},
{
"name": "16",
"args": "nBytes",
"param": "nBytes int",
"call": "d.tryText(nBytes, UTF16BOM)"
},
{
"name": "16LE",
"args": "nBytes",
"param": "nBytes int",
"call": "d.tryText(nBytes, UTF16LE)"
},
{
"name": "16BE",
"args": "nBytes",
"param": "nBytes int",
"call": "d.tryText(nBytes, UTF16BE)"
}
]
},
{
"name": "UTF8ShortString",
"type": "Str",
"variants": [
{
"name": "",
"args": "nBytes",
"param": "nBytes int",
"call": "d.tryLenPrefixedText(8, nBytes, UTF8BOM)"
}
]
},
{
"name": "UTF8NullTerminated",
"type": "Str",
"variants": [
{
"name": "",
"args": "",
"param": "",
"call": "d.tryNullTerminatedText(1, UTF8BOM)"
}
]
},
{
"name": "UTF8NullTerminatedLen",
"type": "Str",
"variants": [
{
"name": "",
"args": "fixedBytes",
"param": "fixedBytes int",
"call": "d.tryNullTerminatedLenText(fixedBytes, UTF8BOM)"
}
]
}
]
}