mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 23:01:44 +01:00
22 lines
438 B
C#
22 lines
438 B
C#
using System;
|
|
|
|
#nullable enable
|
|
namespace Capnp
|
|
{
|
|
/// <summary>
|
|
/// Helper struct to represent the tuple (segment index, offset)
|
|
/// </summary>
|
|
public struct SegmentSlice
|
|
{
|
|
/// <summary>
|
|
/// Segment index
|
|
/// </summary>
|
|
public uint SegmentIndex;
|
|
|
|
/// <summary>
|
|
/// Word offset within segment
|
|
/// </summary>
|
|
public int Offset;
|
|
}
|
|
}
|
|
#nullable restore |