Class ByteArrayEncodedMessage

    • Constructor Detail

      • ByteArrayEncodedMessage

        public ByteArrayEncodedMessage​(byte[] message)
        Simple constructor.
        Parameters:
        message - byte array 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