public byte[] ToProtoBytes() { return(RelationshipManager.SerializeToBytes(this)); }
public static void SerializeLengthDelimited(Stream stream, RelationshipManager instance) { byte[] bytes = RelationshipManager.SerializeToBytes(instance); ProtocolParser.WriteUInt32(stream, (uint)bytes.Length); stream.Write(bytes, 0, (int)bytes.Length); }