public class Decimal extends Object
java.math.BigDecimal, double, or
long.| Modifier and Type | Field and Description |
|---|---|
static int |
PACKED_DECIMAL
Packed Decimal representation
|
| Modifier and Type | Method and Description |
|---|---|
static int |
bigDecimalToPackedDecimalBytes(io.netty.buffer.ByteBuf buffer,
int offset,
BigDecimal b,
int declaredPrecision,
int declaredScale)
Write a Java
java.math.BigDecimal to packed decimal bytes. |
static int |
computeBigDecimalPrecision(BigDecimal decimal) |
public static final int PACKED_DECIMAL
public static int computeBigDecimalPrecision(BigDecimal decimal)
public static final int bigDecimalToPackedDecimalBytes(io.netty.buffer.ByteBuf buffer,
int offset,
BigDecimal b,
int declaredPrecision,
int declaredScale)
java.math.BigDecimal to packed decimal bytes.Copyright © 2021. All rights reserved.