corda / net.corda.core.serialization / com.esotericsoftware.kryo.Kryo

### Extensions for com.esotericsoftware.kryo.Kryo

addToWhitelist | `fun Kryo.addToWhitelist(type: Class<*>): Unit`
attachmentStorage | `var Kryo.attachmentStorage: AttachmentStorage?`
noReferencesWithin | `fun <T : Any> Kryo.noReferencesWithin(): Unit` Use this method to mark any types which can have the same instance within it more than once. This will make sure the serialised form is stable across multiple serialise-deserialise cycles. Using this on a type with internal cyclic references will throw a stack overflow exception during serialisation.
register | `fun <T : Any> Kryo.register(type: KClass<T>, read: (Kryo, Input) -> T, write: (Kryo, Output, T) -> Unit): Registration`
useClassLoader | `fun <T> Kryo.useClassLoader(cl: ClassLoader, body: () -> T): T`