Class HexadecimalSequenceEncodedMessage

  • All Implemented Interfaces:
    EncodedMessage

    public class HexadecimalSequenceEncodedMessage
    extends AbstractEncodedMessage
    Encoded message as an hexadecimal characters sequence.
    Since:
    11.0
    Author:
    Luc Maisonobe
    • Constructor Detail

      • HexadecimalSequenceEncodedMessage

        public HexadecimalSequenceEncodedMessage​(CharSequence message)
        Simple constructor.
        Parameters:
        message - characters sequence containing the message
    • Method Detail

      • fetchByte

        protected int fetchByte()
        Fetch the next byte from the message.
        Specified by:
        fetchByte in class AbstractEncodedMessage
        Returns:
        next byte from the message, as a primitive integer, or -1 if end of data has been reached