code: def Serialize(self, writer):
          
          writer.WriteVarInt(len(self.NetworkAddressesWithTime))
          for address in self.NetworkAddressesWithTime:
              address.Serialize(writer)
docs: Serialize object.
  
          Args:
              writer (neo.IO.BinaryWriter):