datasets
CollectAs
Convert a sequence of bytes into a slice of proto.Message
.
Useful to convert the output of Datapoints.Query
into a slice of proto.Message
.
This a convenience function for Collect(As[T](seq))
.
Parameters
The sequence of bytes to convert
Returns
A slice of proto.Message
or an error if any.