serialize method

void serialize(
  1. ByteDataWriter writer
)

Implementation

void serialize(ByteDataWriter writer) {
  // Serializes a message object of type GoalID
  // Serialize message field [stamp]
  writer.writeTime(stamp);
  // Serialize message field [id]
  writer.writeString(id);
}