mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 12:13:16 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
27 lines
886 B
C#
27 lines
886 B
C#
namespace SabreTools.Data.Models.OLE
|
|
{
|
|
/// <summary>
|
|
/// The ClipboardData packet represents clipboard data
|
|
/// </summary>
|
|
/// <see href="https://winprotocoldoc.z19.web.core.windows.net/MS-OLEPS/%5bMS-OLEPS%5d.pdf"/>
|
|
public class ClipboardData
|
|
{
|
|
/// <summary>
|
|
/// The total size in bytes of the <see cref="Format"> and <see cref="Data"> fields,
|
|
/// not including padding (if any).
|
|
/// </summary>
|
|
public uint Size { get; set; }
|
|
|
|
/// <summary>
|
|
/// An application-specific identifier for the format of the data in the
|
|
/// <see cref="Data"> field.
|
|
/// </summary>
|
|
public uint Format { get; set; }
|
|
|
|
/// <summary>
|
|
/// MUST be an array of bytes, followed by zero padding to a multiple of 4 bytes
|
|
/// </summary>
|
|
public byte[] Data { get; set; } = [];
|
|
}
|
|
}
|