ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ => {
const roundtrip = createRoundtripTest(encodeSenderData, decodeSenderData);
test("roundtrips minimal", () => {
roundtrip({ leafIndex: 0, generation: 0, reuseGuard: new Uint8Array([1, 2, 3, 4]) });
});
test("roundtrips nonzero", () => {
roundtrip({ leafIndex: 123, generation: 456, reuseGuard: new Uint8Array([5, 6, 7, 8]) });
});
});
//# sourceMappingURL=senderData.test.js.map