Class RedisCodecUtil
java.lang.Object
io.netty.handler.codec.redis.RedisCodecUtil
final class RedisCodecUtil
extends java.lang.Object
Utilities for codec-redis.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static byte[]longToAsciiBytes(long value) (package private) static shortmakeShort(char first, char second) Returns ashortvalue using endian order.(package private) static byte[]shortToBytes(short value) Returns abyte[]ofshortvalue.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RedisCodecUtil
private RedisCodecUtil()
-
-
Method Details
-
longToAsciiBytes
static byte[] longToAsciiBytes(long value) -
makeShort
static short makeShort(char first, char second) Returns ashortvalue using endian order. -
shortToBytes
static byte[] shortToBytes(short value) Returns abyte[]ofshortvalue. This is opposite ofmakeShort().
-