baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
20
src/Network/IPipelinedEncryptor.cs
Normal file
20
src/Network/IPipelinedEncryptor.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
// <copyright file="IPipelinedEncryptor.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.Network;
|
||||
|
||||
using System.IO.Pipelines;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for a pipelined encryptor.
|
||||
/// </summary>
|
||||
public interface IPipelinedEncryptor
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the writer of the encryptor which takes the decrypted data.
|
||||
/// The implementation can decide to foward the data written to it
|
||||
/// to another pipe.
|
||||
/// </summary>
|
||||
PipeWriter Writer { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user