B D E G L M N O P R S T U V W Z 
All Classes All Packages

B

ByteUtils - Class in dev.oak3.sbs4j.util
Utilities class for Byte related operations
ByteUtils() - Constructor for class dev.oak3.sbs4j.util.ByteUtils
 
ByteUtils.HexCase - Enum in dev.oak3.sbs4j.util
Hex string code case selector

D

DeserializableObject - Interface in dev.oak3.sbs4j.interfaces
Defines an object as being capable of deserializing with DeserializerBuffer
deserialize(DeserializerBuffer) - Method in interface dev.oak3.sbs4j.interfaces.DeserializableObject
Called when the object's values must be deserialized
DeserializerBuffer - Class in dev.oak3.sbs4j
Deserializing methods
DeserializerBuffer(byte[]) - Constructor for class dev.oak3.sbs4j.DeserializerBuffer
Initializes buffer with serialized bytes and ByteOrder.LITTLE_ENDIAN
DeserializerBuffer(byte[], ByteOrder) - Constructor for class dev.oak3.sbs4j.DeserializerBuffer
Initializes buffer with serialized bytes and byte order
DeserializerBuffer(String) - Constructor for class dev.oak3.sbs4j.DeserializerBuffer
Initializes buffer with serialized bytes from hex-encoded String
DeserializerBuffer(String, ByteOrder) - Constructor for class dev.oak3.sbs4j.DeserializerBuffer
Initializes buffer with serialized bytes from hex-encoded String
dev.oak3.sbs4j - package dev.oak3.sbs4j
 
dev.oak3.sbs4j.exception - package dev.oak3.sbs4j.exception
 
dev.oak3.sbs4j.interfaces - package dev.oak3.sbs4j.interfaces
 
dev.oak3.sbs4j.util - package dev.oak3.sbs4j.util
 

E

encodeHexString(byte[]) - Static method in class dev.oak3.sbs4j.util.ByteUtils
Encodes a byte array to an hex string in lower case as default
encodeHexString(byte[], ByteUtils.HexCase) - Static method in class dev.oak3.sbs4j.util.ByteUtils
Encodes a byte array to an hex string

G

getBuffer() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Retrieves the backing buffer
getBuffer() - Method in class dev.oak3.sbs4j.SerializerBuffer
Retrieves the backing buffer
getHexCodes() - Method in enum dev.oak3.sbs4j.util.ByteUtils.HexCase
 

L

LOWER - dev.oak3.sbs4j.util.ByteUtils.HexCase
 

M

MAX_U128 - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 
MAX_U256 - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 
MAX_U512 - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 
MAX_U64 - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 

N

NoSuchTypeException - Exception in dev.oak3.sbs4j.exception
Thrown in case of a type which does not exist being requested
NoSuchTypeException(String) - Constructor for exception dev.oak3.sbs4j.exception.NoSuchTypeException
 

O

ONE - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 

P

parseHexString(String) - Static method in class dev.oak3.sbs4j.util.ByteUtils
Parses a hex string to byte array

R

readBigInteger() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Larger numeric values (e.g., U128, U256, U512) serialize as one byte of the length of the next number, followed by the two’s complement representation with little-endian byte order.
readBool() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a Boolean value
readByteArray(int) - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a byte[] from buffer
readBytes(int) - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a specified number of bytes
readF32() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a float of 32 bits (4 bytes)
readF64() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a float of 64 bits (8 bytes)
readI32() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a signed int of 32 bits (4 bytes)
readI64() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a signed int of 64 bits (8 bytes)
readString() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a String value from buffer
readU128() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads an unsigned int of 128 bits (16 bytes) max
readU256() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads U256 from buffer
readU32() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads an unsigned int of 32 bits (4 bytes)
readU512() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads U512 from buffer
readU64() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads an unsigned int of 64 bits (8 bytes)
readU8() - Method in class dev.oak3.sbs4j.DeserializerBuffer
Reads a byte from buffer
reverse(byte[]) - Static method in class dev.oak3.sbs4j.util.ByteUtils
Reverses a byte array, used to change endian
reverse(byte[], int, int) - Static method in class dev.oak3.sbs4j.util.ByteUtils
Reverses a byte array, used to change endian

S

SerializableObject - Interface in dev.oak3.sbs4j.interfaces
Defines an object as being capable of deserializing with SerializerBuffer
serialize(SerializerBuffer) - Method in interface dev.oak3.sbs4j.interfaces.SerializableObject
Called when the object's values must be serialized
SerializerBuffer - Class in dev.oak3.sbs4j
Serializing methods
SerializerBuffer() - Constructor for class dev.oak3.sbs4j.SerializerBuffer
Initializes buffer with initial capacity of SerializerBuffer.INITIAL_CAPACITY in bytes and ByteOrder.LITTLE_ENDIAN
SerializerBuffer(int, ByteOrder) - Constructor for class dev.oak3.sbs4j.SerializerBuffer
Initializes buffer with given initial capacity in bytes and byte order.
SerializerBuffer(ByteOrder) - Constructor for class dev.oak3.sbs4j.SerializerBuffer
Initializes buffer with initial capacity of SerializerBuffer.INITIAL_CAPACITY and given byte order.

T

toByteArray() - Method in class dev.oak3.sbs4j.SerializerBuffer
Gets the full byte array corresponding to serialized data
TWO - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 

U

UPPER - dev.oak3.sbs4j.util.ByteUtils.HexCase
 

V

ValueDeserializationException - Exception in dev.oak3.sbs4j.exception
Thrown when type could not be deserialized
ValueDeserializationException(String) - Constructor for exception dev.oak3.sbs4j.exception.ValueDeserializationException
 
ValueDeserializationException(String, Throwable) - Constructor for exception dev.oak3.sbs4j.exception.ValueDeserializationException
 
valueOf(String) - Static method in enum dev.oak3.sbs4j.util.ByteUtils.HexCase
Returns the enum constant of this type with the specified name.
values() - Static method in enum dev.oak3.sbs4j.util.ByteUtils.HexCase
Returns an array containing the constants of this enum type, in the order they are declared.
ValueSerializationException - Exception in dev.oak3.sbs4j.exception
Thrown when type could not be serialized
ValueSerializationException(String) - Constructor for exception dev.oak3.sbs4j.exception.ValueSerializationException
 
ValueSerializationException(String, Throwable) - Constructor for exception dev.oak3.sbs4j.exception.ValueSerializationException
 

W

writeBigInteger(BigInteger, int) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a BigInteger/U128-U256-U512 to the value byte buffer
writeBool(boolean) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a boolean value to the value byte buffer
writeByteArray(byte[]) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a byte array value
writeF32(float) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a Float/F32 value
writeF64(double) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a Double/F64 value
writeI32(int) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes an Integer/I32 value
writeI64(long) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a Long/I64 value
writeString(String) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a String to the value byte buffer
writeU128(BigInteger) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a BigInteger/U128 to the value byte buffer
writeU256(BigInteger) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a BigInteger/U256 to the value byte buffer
writeU32(Long) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes an Unsigned Integer (Long)/U32
writeU512(BigInteger) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a BigInteger/U512 to the value byte buffer
writeU64(BigInteger) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes an Unsigned Long (BigInteger)/U64 to the value byte buffer
writeU8(byte) - Method in class dev.oak3.sbs4j.SerializerBuffer
Writes a single byte value

Z

ZERO - Static variable in class dev.oak3.sbs4j.SerializerBuffer
 
B D E G L M N O P R S T U V W Z 
All Classes All Packages