(exps, h)
| 55 | |
| 56 | const decodeStr = (exps, h) => TD.decode(decodeBytes(exps, h, TAG_BYTES)); |
| 57 | const decodeInt = (exps, h) => { |
| 58 | const b = decodeBytes(exps, h, TAG_INT); |
| 59 | return Number(new DataView(b.buffer, b.byteOffset, 16).getBigInt64(0, true)); |
| 60 | }; |
| 61 | const decodeBool = (exps, h) => decodeBytes(exps, h, TAG_BOOL)[0] !== 0; |
| 62 | const decodeFloat = (exps, h) => { |
| 63 | const b = decodeBytes(exps, h, TAG_FLOAT); |