MCPcopy Index your code
hub / github.com/socketio/socket.io / decodeBase64Packet

Function decodeBase64Packet

client-dist/socket.io.js:407–417  ·  view source on GitHub ↗
(data, binaryType)

Source from the content-addressed store, hash-verified

405 };
406 };
407 var decodeBase64Packet = function decodeBase64Packet(data, binaryType) {
408 if (withNativeArrayBuffer$1) {
409 var decoded = decode$1(data);
410 return mapBinary(decoded, binaryType);
411 } else {
412 return {
413 base64: true,
414 data: data
415 }; // fallback for old browsers
416 }
417 };
418
419 var mapBinary = function mapBinary(data, binaryType) {
420 switch (binaryType) {

Callers 1

decodePacketFunction · 0.85

Calls 2

decode$1Function · 0.85
mapBinaryFunction · 0.85

Tested by

no test coverage detected