//
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace MUnique.OpenMU.Network;
///
/// This interface specifies an decryptor, which decrypts span data packets in-place.
///
public interface ISpanDecryptor
{
///
/// Decrypts the packet.
///
/// The encrypted data packet. The decrypted result will be written back to the same span.
void Decrypt(Span packet);
}