@node-lightning/wire
Version:
Lightning Network Wire Protocol
12 lines • 402 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ipv4StringFromBuffer = void 0;
/**
* Converts an IPv4 address into string notation
* of the format x.x.x.x where each x is an 8-bit integer.
*/
function ipv4StringFromBuffer(bytes) {
return bytes.join(".");
}
exports.ipv4StringFromBuffer = ipv4StringFromBuffer;
//# sourceMappingURL=ipv4StringFromBuffer.js.map