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

Method readInt

lib/readers.js:125–129  ·  view source on GitHub ↗

* Reads a BE Int and moves the offset * @returns {Number}

()

Source from the content-addressed store, hash-verified

123 * @returns {Number}
124 */
125 readInt() {
126 const result = this.buf.readInt32BE(this.offset);
127 this.offset += 4;
128 return result;
129 }
130
131 /** @returns {Number} */
132 readShort() {

Callers 5

readBytesMethod · 0.95
readInetMethod · 0.95
readMetadataMethod · 0.95
readErrorMethod · 0.95
streams.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected