MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / serializeIPv4

Function serializeIPv4

out/cli.cjs:3718–3729  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

3716 return ipv4;
3717 }
3718 function serializeIPv4(address) {
3719 let output = "";
3720 let n2 = address;
3721 for (let i3 = 1; i3 <= 4; ++i3) {
3722 output = String(n2 % 256) + output;
3723 if (i3 !== 4) {
3724 output = `.${output}`;
3725 }
3726 n2 = Math.floor(n2 / 256);
3727 }
3728 return output;
3729 }
3730 function parseIPv6(input) {
3731 const address = [0, 0, 0, 0, 0, 0, 0, 0];
3732 let pieceIndex = 0;

Callers 1

serializeHostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…