wrappedBuffer

fun wrappedBuffer(byteArray: ByteArray): Buffer(source)

Creates a wrapped Buffer so that unnecessary copy is avoided. Also see https://github.com/eclipse-vertx/vert.x/issues/4407.