private BigInteger?ReadInternal(DataInput input)
        {
            bool isNull = input.ReadBoolean();

            if (isNull)
            {
                return(null);
            }

            return(DIOBigIntegerUtil.ReadBigInt(input));
        }
        public void Write(
            BigInteger?bigInteger,
            DataOutput stream)
        {
            bool isNull = bigInteger == null;

            stream.WriteBoolean(isNull);
            if (!isNull)
            {
                DIOBigIntegerUtil.WriteBigInt(bigInteger.Value, stream);
            }
        }
示例#3
0
 private BigInteger ReadInternal(DataInput input)
 {
     return(DIOBigIntegerUtil.ReadBigInt(input));
 }
示例#4
0
 public void Write(
     BigInteger bigInteger,
     DataOutput stream)
 {
     DIOBigIntegerUtil.WriteBigInt(bigInteger, stream);
 }