testing/token_scope_fixtures.ts view source
(bytes: number, filler: string): string[] import {token_scope_methods_at_bytes} from '@fuzdev/fuz_app/testing/token_scope_fixtures.js'; Method names whose methods scope document is exactly bytes compact UTF-8
bytes: account_token_list (so a token over it can list its own account's
tokens), names scope_cap_<i>_<filler> while they fit, and an ASCII pad of
xs. A multibyte filler makes a document far under bytes in UTF-16 code
units. The names hold no : or ,, so the printed jsonb text has exactly
one more byte per separator.
bytes
the compact document's size; at least that of the first name alone
numberfiller
the tail of every name but the first and the pad
stringreturns
string[] distinct method names, sorted, as the Rust spine stores them