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

Method writeByte

lib/writers.js:104–106  ·  view source on GitHub ↗

* Writes a single byte * @param {Number} num Value of the byte, a number between 0 and 255.

(num)

Source from the content-addressed store, hash-verified

102 * @param {Number} num Value of the byte, a number between 0 and 255.
103 */
104 writeByte(num) {
105 this.add(utils.allocBufferFromArray([num]));
106 }
107
108 writeString(str) {
109 if (typeof str === "undefined") {

Callers 2

writeMethod · 0.95
writeQueryParametersMethod · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected