static public void encodeDecimal ( final FastSerializer fs , BigDecimal value ) throws IOException { fs . write ( ( byte ) VoltDecimalHelper . kDefaultScale ) ; fs . write ( ( byte ) 16 ) ; fs . write ( VoltDecimalHelper . serializeBigDecimal ( value ) ) ; }
Read a decimal according to the Export encoding specification .