MCPcopy
hub / github.com/ThatGuySam/doesitarm / readAsDataURL

Method readAsDataURL

helpers/scanner/file-api.ts:190–192  ·  view source on GitHub ↗
( file: NodeFile )

Source from the content-addressed store, hash-verified

188 }
189
190 readAsDataURL ( file: NodeFile ) {
191 this.readFile( file, 'dataUrl' )
192 }
193
194 readAsText ( file: NodeFile, encoding?: BufferEncoding ) {
195 this.readFile( file, 'text', encoding )

Callers

nothing calls this directly

Calls 1

readFileMethod · 0.95

Tested by

no test coverage detected