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

Method writeInt

lib/writers.js:53–57  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

51 }
52
53 writeInt(num) {
54 const buf = utils.allocBufferUnsafe(4);
55 buf.writeInt32BE(num, 0);
56 this.add(buf);
57 }
58
59 /** @param {Long} num */
60 writeLong(num) {

Callers 5

writeMethod · 0.95
writeMethod · 0.95
writeBytesMethod · 0.95
writeQueryParametersMethod · 0.80
requests.jsFile · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected