MCPcopy Create free account
hub / github.com/ReactJSResources/react-webpack-babel / encodeBase64Object

Function encodeBase64Object

public/bundle.js:4936–4940  ·  view source on GitHub ↗
(packet, callback)

Source from the content-addressed store, hash-verified

4934 };
4935
4936 function encodeBase64Object(packet, callback) {
4937 // packet data is an object { base64: true, data: dataAsBase64String }
4938 var message = 'b' + exports.packets[packet.type] + packet.data.data;
4939 return callback(message);
4940 }
4941
4942 /**
4943 * Encode packet helpers for binary types

Callers 1

bundle.jsFile · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected