code: def Deserialize(self, reader: BinaryReader):
          
  
          self.Type = StateType(reader.ReadByte())
  
          self.Key = reader.ReadVarBytes(max=100)
          self.Field = reader.ReadVarString(max=32).decode('utf-8')
          self.Value = reader.ReadVarBytes(max=65535)
  
          if self.Type == StateType.Account:
              self.CheckAccountState()
          elif self.Type == StateType.Validator:
              self.CheckValidatorState()
docs: Deserialize full object.
  
          Args:
              reader (neocore.IO.BinaryReader):