Methods
fromBoolean
- fromBoolean(input: boolean): T
fromBytes
- fromBytes(input: Uint8Array): T
fromFloat64
- fromFloat64(input: number): T
fromList
- fromList<RI>(input: Iterable<RI>, itemReader: Reader<RI>): T
-
Type parameters
Parameters
-
input: Iterable<RI>
-
itemReader: Reader<RI>
Returns T
fromMap
- fromMap<RK, RV>(input: Map<RK, RV>, keyReader: Reader<RK>, valueReader: Reader<RV>): T
-
Type parameters
Parameters
-
input: Map<RK, RV>
-
keyReader: Reader<RK>
-
valueReader: Reader<RV>
Returns T
fromString
- fromString(input: string): T
T: Return type of the read-visitor. This is the type of the value you actually want to create.