MCPcopy
hub / github.com/claude-code-best/claude-code / toBase64

Function toBase64

src/utils/__tests__/imageResizer.test.ts:37–39  ·  view source on GitHub ↗
(buf: Buffer)

Source from the content-addressed store, hash-verified

35])
36
37function toBase64(buf: Buffer): string {
38 return buf.toString('base64')
39}
40
41// ── detectImageFormatFromBuffer ───────────────────────────────────────────────
42

Callers 1

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected