code: public static int uncompressedLength(byte[] input, int offset, int length)
              throws IOException
      {
          if (input == null) {
              throw new NullPointerException("input is null");
          }
  
          return impl.uncompressedLength(input, offset, length);
      }
docs: Get the uncompressed byte size of the given compressed input. This
  operation takes O(1) time.
  
  @param input
  @param offset
  @param length
  @return uncompressed byte size of the the given input data
  @throws IOException when failed to uncompress the given input. The error code is
  {@link SnappyErrorCode#PARSING_ERROR}