fast-code
fast-code copied to clipboard
Significant space waste when encoding hex-string data.
Info-hashes and ed2k hashes are merely hex-string representations of binary data, and ~50% space is wasted when you ignore this point and encode them directly as if you are encoding text.
More specific support for these all-uppercase hex-blocks should be added.
For ed2k file links there is also a filesize field which can be considered as an uInt64 (assuming double
or Number
should also work fairly well).