Class RedisCodecUtil

java.lang.Object
io.netty.handler.codec.redis.RedisCodecUtil

final class RedisCodecUtil extends Object
Utilities for codec-redis.
  • Constructor Details

    • RedisCodecUtil

      private RedisCodecUtil()
  • Method Details

    • longToAsciiBytes

      static byte[] longToAsciiBytes(long value)
    • makeShort

      static short makeShort(char first, char second)
      Returns a short value using endian order.
    • shortToBytes

      static byte[] shortToBytes(short value)
      Returns a byte[] of short value. This is opposite of makeShort().