IMemStream.getBytes

Returns a copy of underlying bytes

struct IMemStream
@property @safe nothrow
ubyte[]
getBytes
()

Examples

immutable ubyte[1] check = [13];
IMemStream m;
m.put!ubyte(13);
assert(check == m.getBytes);

Meta