public BigInteger ReadBigInteger()
{
var type = ReadByte();
if (type != Integer)
throw new InvalidOperationException("Invalid data type, INTEGER(02) is expected.");
var length = ReadLength();
var data = ReadBytes(length);
return new BigInteger(data.Reverse());
}