func (f binaryRecordFormatV0) readDecimal(r *rw.ReadSeeker) interface{} { scale := int(r.ReadInt()) value := big.NewInt(0).SetBytes(r.ReadBytes()) return orient.Decimal{ Scale: scale, Value: value, } }
func (f binaryRecordFormatV0) readInteger(r *rw.ReadSeeker) int32 { return r.ReadInt() }