MCPcopy Create free account
hub / github.com/buger/jsonparser / WriteToBuffer

Function WriteToBuffer

parser.go:1222–1225  ·  view source on GitHub ↗

SYS-REQ-009

(buffer []byte, str string)

Source from the content-addressed store, hash-verified

1220
1221// SYS-REQ-009
1222func WriteToBuffer(buffer []byte, str string) int {
1223 copy(buffer, str)
1224 return len(str)
1225}
1226
1227/*
1228

Callers 3

createInsertComponentFunction · 0.85
AppendFunction · 0.85

Calls

no outgoing calls

Tested by 1