MCPcopy Create free account
hub / github.com/brimdata/super / Read

Method Read

bsupbytes/deserializer.go:31–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29func (d *Deserializer) Close() error { return d.reader.Close() }
30
31func (d *Deserializer) Read() (any, error) {
32 rec, err := d.reader.Read()
33 if err != nil || rec == nil {
34 return nil, err
35 }
36 var action any
37 if err := d.unmarshaler.Unmarshal(*rec, &action); err != nil {
38 return nil, err
39 }
40 return action, nil
41}

Callers 4

GetBytesMethod · 0.95
DecodeObjectFunction · 0.95
decodeSnapshotFunction · 0.95
readEntriesMethod · 0.95

Calls 2

ReadMethod · 0.65
UnmarshalMethod · 0.45

Tested by

no test coverage detected