Class Base64.Decoder

    • Field Detail

      • b4

        private final byte[] b4
      • b4Posn

        private int b4Posn
      • decodabet

        private byte[] decodabet
      • outBuffPosn

        private int outBuffPosn
    • Constructor Detail

      • Decoder

        private Decoder()
    • Method Detail

      • process

        public boolean process​(byte value)
                        throws java.lang.Exception
        Specified by:
        process in interface ByteProcessor
        Returns:
        true if the processor wants to continue the loop and handle the next byte in the buffer. false if the processor wants to stop handling bytes and abort the loop.
        Throws:
        java.lang.Exception
      • decode4to3

        private static int decode4to3​(byte[] src,
                                      ByteBuf dest,
                                      int destOffset,
                                      byte[] decodabet)