class Chunker
extends BaseBuffer
import { Chunker } from "https://deno.land/x/neo4j_lite_client@4.4.6/bolt-connection/channel/chunking.js";
Looks like a writable buffer, chunks output transparently into a channel below.
Methods
_ensure(size)
Ensure at least the given size is available for writing
flush()
Bolt messages are encoded in one or more chunks, and the boundary between two messages
is encoded as a 0-length chunk, 00 00
. This inserts such a message boundary, closing
any currently open chunk as needed
putBytes(position, data)
putFloat64(position, val)
putInt8(position, val)
putUInt8(position, val)