fill method

Buffer fill(
  1. dynamic value, [
  2. int offset,
  3. int end,
  4. String encoding,
])

Fills this buffer with the specified value. If the offset and end are not given, the entire buffer will be filled.

Implementation

external Buffer fill(value, [int offset, int end, String encoding]);