Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ ReadSet
Method
ReadSet
thrift/compact.go:155–158 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
153
}
154
155
func
(r *compactReader) ReadSet() (Set, error) {
156
l, err := r.ReadList()
157
return
Set(l), err
158
}
159
160
func
(r *compactReader) ReadMap() (Map, error) {
161
n, err := r.readUvarint(
"map size"
, math.MaxInt32)
Callers
nothing calls this directly
Calls
2
ReadList
Method · 0.95
Set
TypeAlias · 0.85
Tested by
no test coverage detected