Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ WriteToBuffer
Function
WriteToBuffer
parser.go:1149–1152 ·
view source on GitHub ↗
SYS-REQ-009
(buffer []byte, str string)
Source
from the content-addressed store, hash-verified
1147
1148
// SYS-REQ-009
1149
func
WriteToBuffer(buffer []byte, str string) int {
1150
copy(buffer, str)
1151
return
len(str)
1152
}
1153
1154
/*
1155
Callers
2
createInsertComponent
Function · 0.85
TestPropertyBufferOpsPure
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestPropertyBufferOpsPure
Function · 0.68