ByteBuf.setZero

Fills this buffer with <tt>NUL (0x00)</tt> starting at the specified absolute {@code index}. This method does not modify {@code readerIndex} or {@code writerIndex} of this buffer.

@param length the number of <tt>NUL</tt>s to write to the buffer

@throws IndexOutOfBoundsException if the specified {@code index} is less than {@code 0} or if {@code index + length} is greater than {@code this.capacity}

class ByteBuf
abstract
setZero
(
int index
,
int length
)

Meta