MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Len

Method Len

xmlparser/buffer.go:77–79  ·  view source on GitHub ↗

Len returns the number of bytes written to the buffer.

()

Source from the content-addressed store, hash-verified

75
76// Len returns the number of bytes written to the buffer.
77func (b *buffer) Len() int {
78 return len(*b)
79}
80
81// grow ensures that the buffer has at least n free bytes of capacity.
82// It grows the buffer to the next power of two if necessary.

Callers 14

checkNextEntryMethod · 0.45
readNameMethod · 0.45
TestLatchMultipleWaitersFunction · 0.45
SetupTestMethod · 0.45
ParseFunction · 0.45
ParseFunction · 0.45
TestRegisterDetectorFunction · 0.45
TestRegisterMagicBytesFunction · 0.45
TestURLPatternsFunction · 0.45
DownloadSyncMethod · 0.45

Calls

no outgoing calls

Tested by 9

checkNextEntryMethod · 0.36
TestLatchMultipleWaitersFunction · 0.36
SetupTestMethod · 0.36
TestRegisterDetectorFunction · 0.36
TestRegisterMagicBytesFunction · 0.36
TestURLPatternsFunction · 0.36
TestDownloadGzipMethod · 0.36
TestMetaFilterFunction · 0.36