spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / git / parse / is-whole-listing / most-utf8-bytes / most-utf8-bytes.ts
5 lines · 184 BRaw
1/**
2 * The most bytes one UTF-16 code unit takes in UTF-8, and so both the
3 * bound on a text's encoded length and the most a cut character drops.
4 */
5export const MOST_UTF8_BYTES = 3