private static ReplicaWeight ReadWeight([NotNull] BinaryBufferReader reader) { var value = reader.ReadDouble(); var timestamp = reader.ReadDateTime(); return(new ReplicaWeight(value, timestamp)); }