MCPcopy Create free account
hub / github.com/Marus/cortex-debug / parseEncoded

Function parseEncoded

src/frontend/rtt_terminal.ts:225–227  ·  view source on GitHub ↗
(buffer: Buffer, encoding: string)

Source from the content-addressed store, hash-verified

223}
224
225function parseEncoded(buffer: Buffer, encoding: string) {
226 return DECODER_MAP[encoding] ? DECODER_MAP[encoding](buffer) : DECODER_MAP.unsigned(buffer);
227}
228
229function padLeft(str: string, len: number, chr = ' '): string {
230 if (str.length >= len) {

Callers 1

writeBinaryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected