SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d

View file

@ -0,0 +1,16 @@
namespace Brutal.Localization.FixedBuffers;
public static class LengthHint
{
/// <summary>
/// Pass this to <see cref="IFixedBufferWriter&lt;T&gt;.GetSpan" /> or <see cref="IFixedBufferWriter&lt;T&gt;.TryGetSpan" />
/// to request the largest available span size the writer can return.
/// </summary>
public static readonly ElementCount MaxLengthHint = int.MinValue + 1;
/// <summary>
/// Pass this to <see cref="IFixedBufferWriter&lt;T&gt;.GetSpan" /> or <see cref="IFixedBufferWriter&lt;T&gt;.TryGetSpan" />
/// to request any span size greater than or equal to one.
/// </summary>
public static readonly ElementCount NonZeroLengthHint = int.MinValue;
}