| Modifier and Type | Method and Description |
|---|---|
CborFloat |
CborFloat.copy() |
static CborFloat |
CborFloat.create(double value)
Creates an untagged
CborFloat instance that will be encoded as an eight-byte
double-float. |
static CborFloat |
CborFloat.create(double value,
int tag)
Creates a tagged
CborFloat instance that will be encoded as a eight-byte
double-float. |
static CborFloat |
CborFloat.create(float value)
Creates an untagged
CborFloat instance that will be encoded as a four-byte float. |
static CborFloat |
CborFloat.create(float value,
int tag)
Creates a tagged
CborFloat instance that will be encoded as a four-byte float. |
static CborFloat |
CborFloat.createHalf(float value)
Creates an untagged
CborFloat instance that will be encoded as a two-byte half-float. |
static CborFloat |
CborFloat.createHalf(float value,
int tag)
Creates a tagged
CborFloat instance that will be encoded as a two-byte half-float. |
Copyright © 2018–2023. All rights reserved.