memset


Description:

public size_t memset (size_t offset, uint8 val, size_t size)

Fills buf with size bytes with val starting from offset.

Parameters:

this

a Buffer.

offset

the offset in this

val

the value to set

size

the size to set

Returns:

The amount of bytes filled. This value can be lower than size when this did not contain enough data.