Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ write
Method
write
thrift/binary.go:341–344 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
339
}
340
341
func
(w *binaryWriter) write(b []byte) error {
342
_, err := w.w.Write(b)
343
return
err
344
}
345
346
func
(w *binaryWriter) writeString(s string) error {
347
_, err := io.WriteString(w.w, s)
Callers
10
WriteInt16
Method · 0.95
WriteInt32
Method · 0.95
WriteInt64
Method · 0.95
WriteFloat64
Method · 0.95
WriteBytes
Method · 0.95
WriteMessage
Method · 0.95
writeByte
Method · 0.95
WriteBytes
Method · 0.80
writeUvarint
Method · 0.80
writeVarint
Method · 0.80
Calls
1
Write
Method · 0.80
Tested by
no test coverage detected