MCPcopy
hub / github.com/grpc/grpc-go / Len

Method Len

mem/buffers.go:55–55  ·  view source on GitHub ↗

Len returns the Buffer's size.

()

Source from the content-addressed store, hash-verified

53 Free()
54 // Len returns the Buffer's size.
55 Len() int
56 // Slice returns a new Buffer that is a view into this buffer's data
57 // from [start:end). The buffer is not modified. Panics if the buffer
58 // has been freed or if start/end are out of bounds.

Callers 15

sendResponseMethod · 0.65
processUnaryRPCMethod · 0.65
SetHeaderFunction · 0.65
SetTrailerFunction · 0.65
SendMsgMethod · 0.65
recvMsgMethod · 0.65
SendMsgMethod · 0.65
SetHeaderMethod · 0.65
SetTrailerMethod · 0.65

Implementers 2

buffermem/buffers.go
emptyBuffermem/buffers.go

Calls

no outgoing calls

Tested by 14

TestCompressMethod · 0.52
loadFileDescDynamicFunction · 0.52
registerDynamicProtoFunction · 0.52
declareLogNoiseFunction · 0.52
TestAddressMap_LengthMethod · 0.52
TestAddressMap_DeleteMethod · 0.52
readToMethod · 0.52