Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ Reset
Method
Reset
xmlparser/buffer.go:33–35 ·
view source on GitHub ↗
Reset truncates the buffer.
()
Source
from the content-addressed store, hash-verified
31
32
// Reset truncates the buffer.
33
func
(b *buffer) Reset() {
34
*b = (*b)[:0]
35
}
36
37
func
(b *buffer) Write(p []byte) (n int, err error) {
38
if
len(p) == 0 {
Callers
11
Free
Method · 0.95
Close
Method · 0.80
setReader
Method · 0.80
readText
Method · 0.80
readAttrValue
Method · 0.80
readComment
Method · 0.80
readCData
Method · 0.80
readDoctype
Method · 0.80
readName
Method · 0.80
DownloadSync
Method · 0.80
sanitize
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected