HelpGetPeerColors.deserialize constructor

HelpGetPeerColors.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory HelpGetPeerColors.deserialize(BinaryReader reader) {
  // Read [HelpGetPeerColors] fields.
  final hash = reader.readInt32();

  // Construct [HelpGetPeerColors] object.
  final returnValue = HelpGetPeerColors(hash: hash);

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