private static void WriteValueImpl(Stream stream, DateTime dateTime, byte[] bytes)
 {
     BitConverterEx.TryWriteBytes(bytes, dateTime);
     stream.Write(bytes, 0, Size);
 }