DecryptedMessageMediaPhoto008.deserialize constructor
DecryptedMessageMediaPhoto008.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory DecryptedMessageMediaPhoto008.deserialize(BinaryReader reader) {
// Read [DecryptedMessageMediaPhoto008] fields.
final thumb = reader.readBytes();
final thumbW = reader.readInt32();
final thumbH = reader.readInt32();
final w = reader.readInt32();
final h = reader.readInt32();
final size = reader.readInt32();
final key = reader.readBytes();
final iv = reader.readBytes();
// Construct [DecryptedMessageMediaPhoto008] object.
final returnValue = DecryptedMessageMediaPhoto008(
thumb: thumb,
thumbW: thumbW,
thumbH: thumbH,
w: w,
h: h,
size: size,
key: key,
iv: iv,
);
// Now return the deserialized [DecryptedMessageMediaPhoto008].
return returnValue;
}