Package-level declarations
Types
A schema for arrays of T, written as a 4-byte element count followed by each element.
Encodes a BooleanArray as an array of BOOLEAN, one byte per element.
A schema you define by hand. You name the components and supply a function that produces them.
Encodes a DoubleArray as an array of DOUBLE.
Writes the same bytes as EnumSchema, but takes the constant name as a String instead of an enum value. Throws IllegalArgumentException for a name that is not in constantNames.
Encodes an enum constant as its 4-byte ordinal.
Describes how one type becomes bytes.
Encodes a FloatArray as an array of DOUBLE, widening each element.
Encodes an IntArray as an array of INT.
A schema for java.util.Optional, encoded exactly like OptionalSchema.
Encodes a LongArray as an array of LONG.
A schema for maps with independently typed keys and values.
Encodes an OptionalDouble like an optional DOUBLE.
Encodes an OptionalInt like an optional INT.
Encodes an OptionalLong like an optional LONG.
A schema for values that may be absent, wrapping the schema for the value itself.
Base for the schemas of Kotlin's primitive arrays.
Base for the schemas of OptionalInt, OptionalLong and OptionalDouble. These classes are not generic, so inference needs no type argument.
A schema that converts a T to a U and encodes the result with baseSchema.