Read an element from stream. If there are no elements, returns default constructed T
ubyte[1] data = [13]; auto stream = OMemStream(data); assert(stream.read!ubyte == 13); assert(stream.read!ubyte == ubyte.init);
See Implementation
Read an element from stream. If there are no elements, returns default constructed T