MCPcopy
hub / github.com/simstudioai/sim / decodeSimpleMessage

Function decodeSimpleMessage

apps/sim/tools/gmail/utils.test.ts:14–16  ·  view source on GitHub ↗
(encoded: string)

Source from the content-addressed store, hash-verified

12} from './utils'
13
14function decodeSimpleMessage(encoded: string): string {
15 return Buffer.from(encoded, 'base64url').toString('utf-8')
16}
17
18/**
19 * Extract and base64-decode the body of a specific MIME part identified by its

Callers 1

utils.test.tsFile · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected