Class StrictUtf8

java.lang.Object
com.loomcache.common.util.StrictUtf8

public final class StrictUtf8 extends Object
UTF-8 decoder for protocol/config surfaces that must fail on malformed bytes.
  • Method Details

    • decode

      public static String decode(byte[] bytes, String fieldName)
    • decode

      public static String decode(byte[] bytes, int offset, int length, String fieldName)