vertx / io.vertx.reactivex.core.buffer / Buffer / setBuffer

setBuffer

open fun setBuffer(pos: Int, b: Buffer): Buffer

Sets the bytes at position pos in the Buffer to the bytes represented by the Buffer b.

The buffer will expand as necessary to accommodate any value written.

Parameters

pos -

b -

Return

open fun setBuffer(pos: Int, b: Buffer, offset: Int, len: Int): Buffer

Sets the bytes at position pos in the Buffer to the bytes represented by the Buffer b on the given offset and len.

The buffer will expand as necessary to accommodate any value written.

Parameters

pos -

b -

offset -

len -

Return