/// <summary> /// Extracts the KIFINT entry to a <see cref="byte"/>[]. /// </summary> /// <param name="kifintStream">The stream to the open KIFINT archive.</param> /// <returns>A byte array containing the data of the decrypted entry.</returns> /// /// <exception cref="ArgumentNullException"> /// <paramref name="kifintStream"/> is null. /// </exception> public byte[] ExtractToBytes(KifintStream kifintStream) { return(KifintArchive.ExtractToBytes(kifintStream, this)); }
/// <summary> /// Extracts the KIFINT entry to a <see cref="byte"/>[]. /// </summary> /// <returns>A byte array containing the data of the decrypted entry.</returns> public byte[] ExtractToBytes() { using (KifintStream kifintStream = new KifintStream()) return(KifintArchive.ExtractToBytes(kifintStream, this)); }