Package-level declarations

Types

Link copied to clipboard

SPI for extending the codec processor with custom field strategies. Implementations are discovered via ServiceLoader at KSP build time.

Link copied to clipboard
data class CustomFieldDescriptor(val readFunction: FunctionRef, val writeFunction: FunctionRef, val fixedSize: Int = -1, val sizeOfFunction: FunctionRef? = null, val contextFields: List<String> = emptyList())

Describes a custom field strategy via function references.

Link copied to clipboard
data class FieldContext(val fieldName: String, val typeName: String, val annotationArguments: Map<String, Any?>)
Link copied to clipboard
data class FunctionRef(val packageName: String, val functionName: String)