MCPcopy Create free account
hub / github.com/cweijan/vscode-office / write

Method write

src/shims/string_decoder.ts:3–5  ·  view source on GitHub ↗
(buffer: Uint8Array | string)

Source from the content-addressed store, hash-verified

1export class StringDecoder {
2 constructor(_encoding?: string) { }
3 write(buffer: Uint8Array | string) {
4 return typeof buffer === 'string' ? buffer : new TextDecoder().decode(buffer);
5 }
6 end() {
7 return '';
8 }

Callers 8

copyHtmlFunction · 0.80
ensureMermaidChromeFunction · 0.80
exportWithSheetJsFunction · 0.80
exportSaveAsFunction · 0.80
listTarEntriesFunction · 0.80
extractTarEntriesFunction · 0.80
appendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected