Class CancelDecoder

    • Method Detail

      • decode

        public CancelRequest decode​(byte[] stream)
                             throws DecoderException
        Decode a PDU which must contain a Cancel extended operation. Note that the stream of bytes much contain a full PDU, not a partial one.
        Parameters:
        stream - The bytes to be decoded
        Returns:
        An Cancel object
        Throws:
        DecoderException - If the decoding failed