Constructor and Description |
---|
LettuceByteCodec() |
Modifier and Type | Method and Description |
---|---|
String |
decodeKey(ByteBuffer byteBuffer) |
byte[] |
decodeValue(ByteBuffer byteBuffer) |
ByteBuffer |
encodeKey(String s) |
ByteBuffer |
encodeValue(byte[] bytes) |
public String decodeKey(ByteBuffer byteBuffer)
decodeKey
in interface io.lettuce.core.codec.RedisCodec<String,byte[]>
public byte[] decodeValue(ByteBuffer byteBuffer)
decodeValue
in interface io.lettuce.core.codec.RedisCodec<String,byte[]>
public ByteBuffer encodeKey(String s)
encodeKey
in interface io.lettuce.core.codec.RedisCodec<String,byte[]>
public ByteBuffer encodeValue(byte[] bytes)
encodeValue
in interface io.lettuce.core.codec.RedisCodec<String,byte[]>
Copyright © 2018. All rights reserved.