SwiftstructCryptexKit

struct CryptexKit.PkgSliceEncoder

Members 3

  1. funcstatic decodeSlice(xpc: OS_xpc_object) throws -> CryptexKit.PkgSlice
  2. funcstatic encodeSlice(slice: CryptexKit.PkgSlice) throws -> OS_xpc_object
  3. initinit() -> CryptexKit.PkgSliceEncoder
struct PkgSliceEncoder {
    enum CodingKeys {
        case variant
        case type
        case fileDescriptor
    }
    init()

    static func decodeSlice(xpc: any __C.OS_xpc_object) throws -> CryptexKit.PkgSlice
    static func encodeSlice(slice: CryptexKit.PkgSlice) throws -> any __C.OS_xpc_object
}