MCPcopy 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
155func (r *compactReader) ReadSet() (Set, error) {
156 l, err := r.ReadList()
157 return Set(l), err
158}
159
160func (r *compactReader) ReadMap() (Map, error) {
161 n, err := r.readUvarint("map size", math.MaxInt32)

Callers

nothing calls this directly

Calls 2

ReadListMethod · 0.95
SetTypeAlias · 0.85

Tested by

no test coverage detected