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

Function writeEncoding

public/bundle.js:1174–1181  ·  view source on GitHub ↗
(bloblessData)

Source from the content-addressed store, hash-verified

1172 function encodeAsBinary(obj, callback) {
1173
1174 function writeEncoding(bloblessData) {
1175 var deconstruction = binary.deconstructPacket(bloblessData);
1176 var pack = encodeAsString(deconstruction.packet);
1177 var buffers = deconstruction.buffers;
1178
1179 buffers.unshift(pack); // add packet info to beginning of data list
1180 callback(buffers); // write all the buffers
1181 }
1182
1183 binary.removeBlobs(obj, writeEncoding);
1184 }

Callers

nothing calls this directly

Calls 2

encodeAsStringFunction · 0.85
callbackFunction · 0.85

Tested by

no test coverage detected