| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
composite(List<io.netty.buffer.ByteBuf> parts)
Combine
ByteBufs through composite buffer. |
static void |
releaseAll(io.asyncer.r2dbc.mysql.message.FieldValue[] fields) |
static void |
releaseAll(io.asyncer.r2dbc.mysql.message.FieldValue[] fields,
int bound) |
static void |
releaseAll(List<? extends io.netty.util.ReferenceCounted> parts) |
static void |
releaseAll(List<? extends io.netty.util.ReferenceCounted> parts,
int bound) |
static void |
releaseAll(io.netty.util.ReferenceCounted[] parts) |
public static io.netty.buffer.ByteBuf composite(List<io.netty.buffer.ByteBuf> parts)
ByteBufs through composite buffer.
This method would release all ByteBufs when any exception throws.
parts - The ByteBufs want to be wrap, it can not be empty, and it will be cleared.ByteBuf holds the all bytes of given parts, it may be a read-only buffer.public static void releaseAll(io.netty.util.ReferenceCounted[] parts)
public static void releaseAll(io.asyncer.r2dbc.mysql.message.FieldValue[] fields)
public static void releaseAll(List<? extends io.netty.util.ReferenceCounted> parts)
public static void releaseAll(io.asyncer.r2dbc.mysql.message.FieldValue[] fields,
int bound)
public static void releaseAll(List<? extends io.netty.util.ReferenceCounted> parts, int bound)
Copyright © 2018–2023 asyncer.io. All rights reserved.