Integer
@SerialInfo
Java field-friendly version of TomlInteger
Changes the representation of the annotated Byte, Short, Int, Long property.
class ByteCode(
@TomlInteger(
base = TomlInteger.Base.Hex,
group = 2
)
val code: Int
)
ByteCode(0xFFE490)
Content copied to clipboard
will produce:
code = 0xFF_E4_90
Content copied to clipboard
Author
fzzyhmstrs
Since
0.2.0