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

Method Bytes

framework/buffer/bytesreader.go:38–40  ·  view source on GitHub ↗

Bytes returns the unread portion of underlying slice used to construct BytesReader.

()

Source from the content-addressed store, hash-verified

36// Bytes returns the unread portion of underlying slice used to construct
37// BytesReader.
38func (br BytesReader) Bytes() []byte {
39 return br.value[int(br.Size())-br.Len():]
40}
41
42// Copy returns the BytesReader reading from the same slice as br at the same
43// position.

Callers 4

CopyMethod · 0.95
verifyTestMsgFunction · 0.80
IMAPFilterMethod · 0.80
CheckBodyMethod · 0.80

Calls 1

LenMethod · 0.65

Tested by 1

verifyTestMsgFunction · 0.64