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

Method writeCustomPayload

lib/writers.js:132–139  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

130 }
131
132 writeCustomPayload(payload) {
133 const keys = Object.keys(payload);
134 this.writeShort(keys.length);
135 keys.forEach(k => {
136 this.writeString(k);
137 this.writeBytes(payload[k]);
138 });
139 }
140
141 writeStringMap(map) {
142 const keys = [];

Callers 3

writeMethod · 0.95
writeMethod · 0.95
writeMethod · 0.95

Calls 5

writeShortMethod · 0.95
writeStringMethod · 0.95
writeBytesMethod · 0.95
keysMethod · 0.65
forEachMethod · 0.65

Tested by

no test coverage detected