rewrite

Replace the bytes in buf from the offset by data.

version(COMPILE)
extern (C++) nothrow extern (D)
static if(1)
void
rewrite
(
T
)
(,
size_t offset
,)

Parameters

buf Outbuffer*

buffer where data will be written

offset size_t

offset of the bytes in buf to replace

data T

bytes to write

Meta