/// <summary> /// Decode the input as an EncryptedContent v2 using a particular wire format /// and update this EncryptedContent. /// </summary> /// /// <param name="input">The input blob to decode.</param> /// <param name="wireFormat">A WireFormat object used to decode the input.</param> /// <exception cref="EncodingException">For invalid encoding.</exception> public void wireDecodeV2(Blob input, WireFormat wireFormat) { wireFormat.decodeEncryptedContentV2(this, input.buf(), false); }
/// <summary> /// Decode the input as an EncryptedContent v2 using a particular wire format /// and update this EncryptedContent. /// </summary> /// /// <param name="input"></param> /// <param name="wireFormat">A WireFormat object used to decode the input.</param> /// <exception cref="EncodingException">For invalid encoding.</exception> public void wireDecodeV2(ByteBuffer input, WireFormat wireFormat) { wireFormat.decodeEncryptedContentV2(this, input, true); }