1
0
mirror of https://github.com/qntm/base65536 synced 2025-11-12 03:24:42 +01:00

Compare commits

..

No commits in common. "f4917c74f5beb6a504582bba0c303bdccf9a6003" and "0d936eab753485d2036a1eda521a5376f562fe42" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -127,7 +127,7 @@ import { encode, decode } from 'base65536'
const uint8Array = new Uint8Array([104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100])
const string = encode(uint8Array)
const string = encode(uint8Array.buffer)
console.log(string);
// 6 code points, '驨ꍬ啯𒁷ꍲᕤ'

View File

@ -81,6 +81,3 @@ export default () => SafeCodePoint('8.0.0').then(safeCodePoint => {
// * Perhaps try to find larger blocks of 512 or 1024 code points rather than
// 256, or other techniques for reducing the size of the lookup tables.
// * Choose all characters with the same East_Asian_Width of 'W' (wide).
// * Make Base65536 big-endian, so that [0x00 0x00] and [0x00 0x01] encode to
// code points which are separated by 1 - this would simplify decoding and be
// more consistent with my other encodings.