Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Monibuca/engine
/ WriteByte
Method
WriteByte
util/buffer.go:150–152 ·
view source on GitHub ↗
(v byte)
Source
from the content-addressed store, hash-verified
148
binary.BigEndian.PutUint16(b.Malloc(2), v)
149
}
150
func
(b *Buffer) WriteByte(v byte) {
151
b.Malloc(1)[0] = v
152
}
153
func
(b *Buffer) WriteString(a string) {
154
*b = append(*b, a...)
155
}
Callers
1
WriteSliceBytes
Method · 0.95
Calls
1
Malloc
Method · 0.95
Tested by
no test coverage detected