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

Function WriteToBuffer

parser.go:1112–1115  ·  view source on GitHub ↗

SYS-REQ-009

(buffer []byte, str string)

Source from the content-addressed store, hash-verified

1110
1111// SYS-REQ-009
1112func WriteToBuffer(buffer []byte, str string) int {
1113 copy(buffer, str)
1114 return len(str)
1115}
1116
1117/*
1118

Callers 2

createInsertComponentFunction · 0.85

Calls

no outgoing calls

Tested by 1