MsgsAllInfo.deserialize constructor

MsgsAllInfo.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MsgsAllInfo.deserialize(BinaryReader reader) {
  // Read [MsgsAllInfo] fields.
  final msgIds = reader.readVectorInt64();
  final info = reader.readBytes();

  // Construct [MsgsAllInfo] object.
  final returnValue = MsgsAllInfo(
    msgIds: msgIds,
    info: info,
  );

  // Now return the deserialized [MsgsAllInfo].
  return returnValue;
}