MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / WriteString

Function WriteString

projects/Go/proto/fbe/Buffer.go:424–426  ·  view source on GitHub ↗

Write string into the buffer

(buffer []byte, offset int, value string)

Source from the content-addressed store, hash-verified

422
423// Write string into the buffer
424func WriteString(buffer []byte, offset int, value string) {
425 WriteBytes(buffer, offset, []byte(value))
426}
427
428// Write timestamp into the buffer
429func WriteTimestamp(buffer []byte, offset int, value Timestamp) {

Callers

nothing calls this directly

Calls 1

WriteBytesFunction · 0.85

Tested by

no test coverage detected