MCPcopy 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.
20func (b *ByteBuffer) Len() int {
21 return len(b.B)
22}
23
24// ReadFrom implements io.ReaderFrom.
25//

Callers 1

TestByteBufferReadFromFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestByteBufferReadFromFunction · 0.76