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

Method readStringList

lib/readers.js:168–175  ·  view source on GitHub ↗

* Reads a protocol string list * @returns {Array}

()

Source from the content-addressed store, hash-verified

166 * @returns {Array}
167 */
168 readStringList() {
169 const length = this.readShort();
170 const list = new Array(length);
171 for (let i = 0; i < length; i++) {
172 list[i] = this.readString();
173 }
174 return list;
175 }
176
177 /**
178 * Reads the amount of bytes that the field has and returns them (slicing them).

Callers 4

readStringMultiMapMethod · 0.95
readFlagsInfoMethod · 0.95
readErrorMethod · 0.95
parseSchemaChangeMethod · 0.95

Calls 2

readShortMethod · 0.95
readStringMethod · 0.95

Tested by

no test coverage detected