public static final class CommandArgs.ExperimentalByteArrayCodec extends ByteArrayCodec
byte[]
to the target buffer without wrapping it in a ByteBuffer
to reduce GC
pressure.Modifier and Type | Field and Description |
---|---|
static CommandArgs.ExperimentalByteArrayCodec |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
encodeKey(ByteBuf target,
byte[] key) |
void |
encodeValue(ByteBuf target,
byte[] value) |
decodeKey, decodeValue, encodeKey, encodeValue
public static final CommandArgs.ExperimentalByteArrayCodec INSTANCE
Copyright © 2018 lettuce.io. All rights reserved.