MCPcopy Index your code
hub / github.com/FxEmbed/FxEmbed / slice

Method slice

packages/atmosphere/src/helpers/unicode-string.ts:22–24  ·  view source on GitHub ↗
(start?: number, end?: number)

Source from the content-addressed store, hash-verified

20 }
21
22 slice(start?: number, end?: number): string {
23 return decoder.decode(this.utf8.slice(start, end));
24 }
25
26 utf16IndexToUtf8Index(i: number) {
27 return encoder.encode(this.utf16.slice(0, i)).byteLength;

Callers 15

linkFixerBlueskyFunction · 0.95
readSetCookieNamesFunction · 0.80
instagramShortcodeToPkFunction · 0.80
fetchPostThreadResultFunction · 0.80
fetchActorProfileFunction · 0.80
fetchAuthorFeedFunction · 0.80
fetchActorLikesFunction · 0.80
fetchSearchPostsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected