Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ WriteByte
Method
WriteByte
syncio/buffer.go:76–80 ·
view source on GitHub ↗
(c byte)
Source
from the content-addressed store, hash-verified
74
}
75
76
func
(rw *Buffer) WriteByte(c byte) error {
77
rw.l.Lock()
78
defer
rw.l.Unlock()
79
return
rw.b.WriteByte(c)
80
}
81
82
func
(rw *Buffer) ReadString(delim byte) (line string, err error) {
83
rw.l.Lock()
Callers
3
TestBasicOperations
Function · 0.95
BenchmarkWriteByte
Function · 0.95
Run
Method · 0.80
Calls
no outgoing calls
Tested by
2
TestBasicOperations
Function · 0.76
BenchmarkWriteByte
Function · 0.76