Class IntReader

java.lang.Object
com.itextpdf.io.codec.brotli.dec.IntReader

final class IntReader extends Object
Byte-to-int conversion magic.
  • Field Details

    • byteBuffer

      private byte[] byteBuffer
    • intBuffer

      private int[] intBuffer
  • Constructor Details

    • IntReader

      IntReader()
  • Method Details

    • init

      static void init(IntReader ir, byte[] byteBuffer, int[] intBuffer)
    • convert

      static void convert(IntReader ir, int intLen)
      Translates bytes to ints. NB: intLen == 4 * byteSize! NB: intLen should be less or equal to intBuffer length.