MCPcopy Index your code
hub / github.com/foxcpp/maddy / Len

Method Len

framework/buffer/buffer.go:48–48  ·  view source on GitHub ↗

Len reports the length of the stored blob. Notably, it indicates the amount of bytes that can be read from the newly created Reader without hiting io.EOF.

()

Source from the content-addressed store, hash-verified

46 // Notably, it indicates the amount of bytes that can be read from the
47 // newly created Reader without hiting io.EOF.
48 Len() int
49
50 // Remove discards buffered body and releases all associated resources.
51 //

Callers 6

msgsAddFunction · 0.95
BytesMethod · 0.65
UnquoteMboxFunction · 0.65
BodyMethod · 0.65
runAndMergeResultsMethod · 0.65
CheckBodyMethod · 0.65

Implementers 3

FileBufferframework/buffer/file.go
MemoryBufferframework/buffer/memory.go
FailingBufferinternal/testutils/buffer.go

Calls

no outgoing calls

Tested by

no test coverage detected