fill


Description:

public size_t fill (size_t offset, uint8[] src)

Copies src.length bytes from src to this at offset.

Parameters:

this

a Buffer.

offset

the offset to fill

src

the source address

size

the size to fill

Returns:

The amount of bytes copied. This value can be lower than src.length when this did not contain enough data.