public static Ended ReadDataFrom(BinaryReader reader) { return(new Ended { Command = BinaryMessage.ReadFrom(reader), Success = reader.ReadBoolean(), BuildDirectory = AbsoluteDirectoryPath.Read(reader) }); }