rfc8785/max pos int

About this case

RFC 8785 Appendix B: 4340000000000000 serializes as 9007199254740992 (Max pos int).

Topics
rfc8785
Input
1 value · 8 B · raw bytes
Output
17 B
Archive
000006_must_render_exactly/input

Input

Each value is 8 bytes, little-endian. Its bits are shown most significant first, as RFC 8785 Appendix B writes them, so 3ff0000000000000 is 1.

# Bits (hex) Expected
1 4340000000000000 9007199254740992

Expected output

The output must match these bytes exactly.

9007199254740992