We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c469f9e commit 0b50bd7Copy full SHA for 0b50bd7
vertx/src/main/kotlin/com/huanshankeji/vertx/core/Buffer.kt
@@ -8,5 +8,6 @@ import io.vertx.core.buffer.impl.BufferImpl
8
* Creates a wrapped [Buffer] so that unnecessary copy is avoided.
9
* Also see https://github.com/eclipse-vertx/vert.x/issues/4407.
10
*/
11
+@Deprecated("Creating a wrapped buffer seems no longer allowed by Vert.x.")
12
fun wrappedBuffer(byteArray: ByteArray): Buffer =
- BufferImpl.buffer(Unpooled.wrappedBuffer(byteArray))
13
+ throw NotImplementedError()
0 commit comments