Skip to content

Commit

Permalink
IsEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
rickardp committed Feb 14, 2023
1 parent 70c235f commit 2caf1e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Combination.StringPools/PooledUtf8String.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ public override int GetHashCode()
public IUtf8StringPool? StringPool => Utf8StringPool.GetStringPool(handle);

public long Handle => unchecked((long)(handle ^ 0xaaaaaaaaaaaaaaaaUL));

public bool IsEmpty => handle == ulong.MaxValue;
}

0 comments on commit 2caf1e9

Please sign in to comment.