Skip to content

Commit f68195a

Browse files
committed
Added comment about the difference between ULEB128 and LEB128
1 parent 4a50550 commit f68195a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DotNext/Buffers/Binary/Leb128.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ namespace DotNext.Buffers.Binary;
1111
/// <summary>
1212
/// Represents encoder and decoder for 7-bit encoded integers.
1313
/// </summary>
14+
/// <remarks>
15+
/// Note that encoding of signed and unsigned integers produce different octets.
16+
/// </remarks>
1417
/// <typeparam name="T">The type of the integer.</typeparam>
1518
/// <seealso href="https://en.wikipedia.org/wiki/LEB128">LEB128 encoding</seealso>
1619
[StructLayout(LayoutKind.Auto)]

0 commit comments

Comments
 (0)