Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/valyala/bytebufferpool
/ Len
Method
Len
bytebuffer.go:20–22 ·
view source on GitHub ↗
Len returns the size of the byte buffer.
()
Source
from the content-addressed store, hash-verified
18
19
// Len returns the size of the byte buffer.
20
func
(b *ByteBuffer) Len() int {
21
return
len(b.B)
22
}
23
24
// ReadFrom implements io.ReaderFrom.
25
//
Callers
1
TestByteBufferReadFrom
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestByteBufferReadFrom
Function · 0.76