MCPcopy Create free account
hub / github.com/google/gvisor / ReadByte

Method ReadByte

pkg/buffer/buffer.go:612–614  ·  view source on GitHub ↗

ReadByte implements the io.ByteReader interface.

()

Source from the content-addressed store, hash-verified

610
611// ReadByte implements the io.ByteReader interface.
612func (br *BufferReader) ReadByte() (byte, error) {
613 return br.b.readByte()
614}
615
616// Close implements the io.Closer interface.
617func (br *BufferReader) Close() {

Callers

nothing calls this directly

Calls 1

readByteMethod · 0.45

Tested by

no test coverage detected