function unmarshal_optional_struct
Swift
func unmarshal_optional_struct<T>(buffer: UnsafeRawPointer, offset: Int, unmarshalFunc: (UnsafeRawPointer, Int) -> T) -> T?
Decodes an optional message; nil when absent. Used by generated code.
nprpc_swift/Sources/NPRPC/Marshalling.swift:261