MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / readInet

Method readInet

lib/readers.js:283–287  ·  view source on GitHub ↗

* Reads an Ip address and port * @returns {{address: exports.InetAddress, port: Number}}

()

Source from the content-addressed store, hash-verified

281 * @returns {{address: exports.InetAddress, port: Number}}
282 */
283 readInet() {
284 const length = this.readByte();
285 const address = this.read(length);
286 return { address: new types.InetAddress(address), port: this.readInt() };
287 }
288
289 /**
290 * Reads an Ip address

Callers 1

readEventMethod · 0.95

Calls 3

readByteMethod · 0.95
readMethod · 0.95
readIntMethod · 0.95

Tested by

no test coverage detected