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

slice

open fun slice(): Buffer

Returns a slice of this buffer. Modifying the content of the returned buffer or this buffer affects each other's content while they maintain separate indexes and marks.

Return

open fun slice(start: Int, end: Int): Buffer

Returns a slice of this buffer. Modifying the content of the returned buffer or this buffer affects each other's content while they maintain separate indexes and marks.

Parameters

start -

end -

Return