MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / BufferDecoder

Class BufferDecoder

src/test/datascience/jupyterServer.node.ts:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49class BufferDecoder {
50 public decode(buffers: Buffer[]): string {
51 return Buffer.concat(buffers).toString('utf-8');
52 }
53}
54
55// This class is used by web and node tests. The web tests need to start a server outside of VS code (because they can't start python)
56// so this class can't use anything that requires VS code types

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected