Closed giuseppe closed 1 year ago
similarly to ReadStringAsSlice(), ReadObjectAsSlice() reads an object from the iterator without converting to the string type.
The result cannot be kept around, as it is valid only until the next read from the iterator.
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com
@taowen @thockin PTAL
@cch123 PTAL
@AllenX2018 can you please take a look?
similarly to ReadStringAsSlice(), ReadObjectAsSlice() reads an object from the iterator without converting to the string type.
The result cannot be kept around, as it is valid only until the next read from the iterator.
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com