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

Method Write

sbuf/array.go:40–43  ·  view source on GitHub ↗
(r super.Value)

Source from the content-addressed store, hash-verified

38}
39
40func (a *Array) Write(r super.Value) error {
41 a.Append(r.Copy())
42 return nil
43}
44
45// Read returns removes the first element of the Array and returns it,
46// or it returns nil if the Array is empty.

Callers 1

Calls 2

AppendMethod · 0.95
CopyMethod · 0.45

Tested by 1