Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ ReadString
Method
ReadString
thrift/binary.go:97–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
95
}
96
97
func
(r *binaryReader) ReadString() (string, error) {
98
b, err := r.ReadBytes()
99
return
unsafeBytesToString(b), err
100
}
101
102
func
(r *binaryReader) ReadLength() (int, error) {
103
b, err := r.read(4)
Callers
1
ReadMessage
Method · 0.95
Calls
2
ReadBytes
Method · 0.95
unsafeBytesToString
Function · 0.85
Tested by
no test coverage detected