예제 #1
0
 public VarIntPacker(ulong smallValue, ulong mediumValue, ulong largeValue, bool throwIfOverLarge = true)
     : this(BitHelper.BitCount(smallValue), BitHelper.BitCount(mediumValue), BitHelper.BitCount(largeValue), throwIfOverLarge)
 {
 }
예제 #2
0
 public VarIntPacker(ulong smallValue, ulong mediumValue)
     : this(BitHelper.BitCount(smallValue), BitHelper.BitCount(mediumValue), 64, false)
 {
 }