IMemStream.peekBytes

Returns underlying bytes. MAY LEAK REFERENCES

struct IMemStream
@property @safe @nogc nothrow
ubyte[]
peekBytes
()

Examples

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

Meta