Interface ByteUtils.ByteConsumer

    • Method Detail

      • accept

        void accept​(int b)
             throws IOException
        The contract is similar to OutputStream.write(int), consume the lower eight bytes of the int as a byte.
        Parameters:
        b - the byte to consume
        Throws:
        IOException - if consuming fails