fill

fun Buffer.fill(times: Int, value: Byte)

Write byte value repeated the specified times.


fun Buffer.fill(times: Int, value: UByte)

Write unsigned byte value repeated the specified times.


fun Output.fill(times: Long, value: Byte = 0)


fun Buffer.fill(n: Long, v: Byte)

Deprecated

Use fill with n with type Int

Write byte v value repeated n times.