set

fun set(block: ByteBuf)

Sets a new block to be written to the client, resetting the progress and updating the length to that of this block.