File: System\Private\Windows\Core\BinaryFormat\IBinaryWriteable.cs
Web Access
Project: src\src\System.Private.Windows.Core\src\System.Private.Windows.Core.csproj (System.Private.Windows.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Private.Windows.Core.BinaryFormat;
 
/// <summary>
///  Expresses that the object can be written with a <see cref="BinaryWriter"/>
/// </summary>
internal interface IBinaryWriteable
{
    /// <summary>
    ///  Writes the current object to the given <paramref name="writer"/>.
    /// </summary>
    void Write(BinaryWriter writer);
}