| Modifier and Type | Method and Description |
|---|---|
default byte[] |
KeyConfig.getByteArray() |
byte[] |
KeyFromHex.getByteArray() |
byte[] |
KeyFromString.getByteArray() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
OptionValueParams.getByteArray()
Get the bytes value.
|
static byte[] |
OptionUtils.toBytes(int value,
int minLength,
int maxLength)
Convert an integer value to byte array.
|
static byte[] |
OptionUtils.toBytes(long value,
int minLength,
int maxLength)
Convert a long value to byte array.
|
static byte[] |
OptionUtils.toBytes(String string)
Converts a string representation of an option to byte array.
|
static byte[] |
OptionUtils.toBytes(String string,
int minLength,
int maxLength)
Converts a string representation of an option to byte array.
|
static byte[] |
OptionUtils.toBytesFromHex(String hexString)
Converts a hexadecimal representation of an option to byte array.
|
static byte[] |
OptionUtils.toBytesFromHex(String hexString,
int minLength,
int maxLength)
Converts a hexadecimal representation of an option to byte array.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultEntityTag |
DefaultEntityTag.valueOf(byte[] bytes)
Static function that creates Entity-tag from byte array.
|
static DefaultBytesValue |
DefaultBytesValue.valueOf(byte[] bytes)
Static function that creates bytes from byte array.
|
static DefaultEntityTag |
DefaultEntityTag.valueOf(int intValue)
Static function that creates Entity-tag from Integer.
|
static DefaultBytesValue |
DefaultBytesValue.valueOf(int intValue)
Static function that creates bytes from Integer.
|
static DefaultEntityTag |
DefaultEntityTag.valueOf(long longValue)
Static function that creates Entity-tag from Long.
|
static DefaultBytesValue |
DefaultBytesValue.valueOf(long longValue)
Static function that creates bytes from Long.
|
static DefaultEntityTag |
DefaultEntityTag.valueOf(String string)
Static function that creates Entity-tag from string using utf-8 representation.
|
static DefaultBytesValue |
DefaultBytesValue.valueOf(String string)
Static function that creates bytes from string using utf-8 representation.
|
static DefaultEntityTag |
DefaultEntityTag.valueOf(String string,
int radix)
Static function that creates Entity-tag from string interpreted as number using given radix.
|
static DefaultBytesValue |
DefaultBytesValue.valueOf(String string,
int radix)
Static function that creates bytes from string interpreted as number using given radix.
|
| Constructor and Description |
|---|
DefaultBytesValue(String string)
Constructs an bytes from a string using UTF-8 encoding.
|
DefaultBytesValue(String string,
int radix)
Constructs an bytes from string interpreted as number using given radix.
|
DefaultBytesValue(String string,
int min,
int max)
Constructs bytes from a string using UTF-8 encoding.
|
DefaultEntityTag(byte[] bytes)
Constructs an Entity-tag from a byte array value.
|
DefaultEntityTag(DefaultBytesValue bytes)
Constructs an Entity-tag from a Long value.
|
DefaultEntityTag(int intValue)
Constructs an Entity-tag from a Integer value.
|
DefaultEntityTag(long longValue)
Constructs an Entity-tag from a Long value.
|
DefaultEntityTag(String string)
Constructs an Entity-tag from a string using UTF-8 encoding.
|
DefaultEntityTag(String string,
int radix)
Constructs an Entity-tag from string interpreted as number using given radix.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<List<DefaultEntityTag>> |
MessageUtils.getList(List<byte[]> bytesList)
Convenience method to create a list of Entity-tags form a list of byte arrays.
|
Copyright © 2019–2024 Teslanet.nl. All rights reserved.