Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

DataPreprocessor

mattt edited this page Sep 18, 2020 · 2 revisions

DataPreprocessor

Type used to preprocess Data before it handled by a serializer.

public protocol DataPreprocessor

Requirements

preprocess(_:​)

Process Data before it's handled by a serializer.

func preprocess(_ data:​ Data) throws -> Data

Parameters

  • data:​ The raw Data to process.
Types
Protocols
Global Typealiases
Clone this wiki locally