Constructor and Description |
---|
RealCodec() |
Modifier and Type | Method and Description |
---|---|
static double |
readDouble(CodecDataInput cdi)
Decode as float
|
static void |
writeDouble(CodecDataOutput cdo,
double val)
Encoding a double value to byte buffer
|
static void |
writeDoubleFully(CodecDataOutput cdo,
double val) |
public static double readDouble(CodecDataInput cdi)
cdi
- source of datapublic static void writeDoubleFully(CodecDataOutput cdo, double val)
public static void writeDouble(CodecDataOutput cdo, double val)
cdo
- For outputting data in bytes arrayval
- The data to encodeCopyright © 2024 PingCAP. All rights reserved.