Reads a single element from the stream. Throws Exception if EOF reached. Important: Does not provide any complex serialization method, so structs must avoid heap managed fields like dynamic arrays. They should implement a custom serializer.
See Implementation
Reads a single element from the stream. Throws Exception if EOF reached. Important: Does not provide any complex serialization method, so structs must avoid heap managed fields like dynamic arrays. They should implement a custom serializer.