示例#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)
 {
 }