MCPcopy Create free account
hub / github.com/Shopify/goose / ReadByte

Method ReadByte

syncio/buffer.go:58–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func (rw *Buffer) ReadByte() (byte, error) {
59 rw.l.Lock()
60 defer rw.l.Unlock()
61 return rw.b.ReadByte()
62}
63
64func (rw *Buffer) ReadBytes(delim byte) (line []byte, err error) {
65 rw.l.Lock()

Callers 2

TestBasicOperationsFunction · 0.95
TestUnreadByteFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestBasicOperationsFunction · 0.76
TestUnreadByteFunction · 0.64