corda / net.corda.core.serialization / SerializationContext / withEncoding

withEncoding

abstract fun withEncoding(encoding: SerializationEncoding?): SerializationContext

A shallow copy of this context but with the given (possibly null) encoding.