it('encodes correctly', (): void => {
    expect(
      new TD().decode(new Uint8Array([97, 98, 99]))
    ).toEqual('abc');
  });