mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-13 09:43:00 +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.
20 lines
619 B
C#
20 lines
619 B
C#
namespace SabreTools.Data.Models.OLE
|
|
{
|
|
/// <summary>
|
|
/// The BLOB packet represents binary data
|
|
/// </summary>
|
|
/// <see href="https://winprotocoldoc.z19.web.core.windows.net/MS-OLEPS/%5bMS-OLEPS%5d.pdf"/>
|
|
public class BLOB
|
|
{
|
|
/// <summary>
|
|
/// The size in bytes of the <see cref="Bytes"> field, not including padding (if any)
|
|
/// </summary>
|
|
public uint Size { get; set; }
|
|
|
|
/// <summary>
|
|
/// MUST be an array of bytes, followed by zero padding to a multiple of 4 bytes.
|
|
/// </summary>
|
|
public byte[] Bytes { get; set; } = [];
|
|
}
|
|
}
|