(exps, h)
| 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); |
| 64 | return new DataView(b.buffer, b.byteOffset, 8).getFloat64(0, true); |
| 65 | }; |
| 66 | |
| 67 | function encodeStr(exps, s) { |
| 68 | const bytes = TE.encode(s); |