unicode-byte-truncate
Version:
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
7 lines (6 loc) • 57 B
YAML
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size