TMemoryBuffer.getContents

Returns a read-only view of the current buffer contents.

Note: For performance reasons, the returned slice is only valid for the life of this object, and may be invalidated on the next write() call at will – you might want to immediately .dup it if you intend to keep it around.

class TMemoryBuffer
const(ubyte)[]
getContents
()

Meta