Constructs a new AppStateSyncKeyData.
Optional
properties:
IAppStateSyncKeyData
Properties to set
Optional
fingerprint
AppStateSyncKeyData fingerprint.
AppStateSyncKeyData keyData.
AppStateSyncKeyData timestamp.
Static
create
Creates a new AppStateSyncKeyData instance using the specified properties.
Optional
properties:
IAppStateSyncKeyData
Properties to set
AppStateSyncKeyData instance
Static
decode
Decodes an AppStateSyncKeyData message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
AppStateSyncKeyData
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes an AppStateSyncKeyData message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
AppStateSyncKeyData
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified AppStateSyncKeyData message. Does not implicitly verify messages.
AppStateSyncKeyData message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified AppStateSyncKeyData message, length delimited. Does not implicitly verify messages.
AppStateSyncKeyData message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates an AppStateSyncKeyData message from a plain object. Also converts values to their respective internal types.
Plain object
AppStateSyncKeyData
Static
toCreates a plain object from an AppStateSyncKeyData message. Also converts values to other types if specified.
AppStateSyncKeyData
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents an AppStateSyncKeyData.