Class WhoAmIResponseDecoder

    • Method Detail

      • decode

        public WhoAmIResponse decode​(byte[] stream)
                              throws DecoderException
        Decode a PDU which must contain a WhoAmIRequest 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:
        a WhoAmIRequest object
        Throws:
        DecoderException - If the decoding failed