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

            return(new ReplicaWeight(value, timestamp));
        }
        public void ReadDouble(double input)
        {
            Reset();
            _writer.Write(input);

            var val = _bufferReader.ReadDouble();

            Assert.Equal(input, val);
        }