Skip to content

Commit

Permalink
Comment Uint256
Browse files Browse the repository at this point in the history
  • Loading branch information
vncoelho authored Jan 13, 2020
1 parent 5e553bf commit 7054db9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/neo/UInt256.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ public class UInt256 : IComparable<UInt256>, IEquatable<UInt256>, ISerializable
public const int Length = 32;
public static readonly UInt256 Zero = new UInt256();

/// <summary>
/// ulong(64) + ulong(64) + ulong(64) + ulong(64) = UInt256(256)
/// </summary>
[FieldOffset(0)] private ulong value1;
[FieldOffset(8)] private ulong value2;
[FieldOffset(16)] private ulong value3;
Expand Down

0 comments on commit 7054db9

Please sign in to comment.