- deserialize<T, C>(data, stream, ruleParams, lookup): InstanceType<C>
-
Type Parameters
-
-
C extends {
deserialize(data, channel, ruleParams) => any;
new (...args): any;
}
Parameters
-
data: T
-
stream: Duplex
-
ruleParams: RuleParameters
-
lookup: {
[key: string]: C;
}
Returns InstanceType<C>