MCPcopy Index your code
hub / github.com/PokemonGoF/PokemonGo-Bot / writeBuffer

Function writeBuffer

map-chat/javascript/browserMqtt.js:1977–1980  ·  view source on GitHub ↗

* write_buffer - write buffer to buffer * * @param buffer - dest buffer * @param pos - offset * @param src - source buffer * @return number of bytes written * * @api private

(buffer, pos, src)

Source from the content-addressed store, hash-verified

1975 */
1976
1977function writeBuffer(buffer, pos, src) {
1978 src.copy(buffer, pos)
1979 return src.length
1980}
1981
1982/**
1983 * writeNumber - write a two byte number to the buffer

Callers 2

publishFunction · 0.85
writeStringOrBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected