java.lang.Object
org.springframework.data.redis.connection.util.DecodeUtils

public abstract class DecodeUtils extends Object
Simple class containing various decoding utilities.
Author:
Costin Leau
  • Constructor Details

    • DecodeUtils

      public DecodeUtils()
  • Method Details

    • decode

      public static String decode(byte[] bytes)
    • decodeMultiple

      public static String[] decodeMultiple(byte[]... bytes)
    • encode

      @Nullable public static byte[] encode(@Nullable String string)
    • encodeMap

      public static Map<byte[],byte[]> encodeMap(Map<String,byte[]> map)
    • decodeMap

      public static Map<String,byte[]> decodeMap(Map<byte[],byte[]> tuple)
    • convertToSet

      public static Set<byte[]> convertToSet(Collection<String> keys)
    • convertToList

      public static List<byte[]> convertToList(Collection<String> keys)