/// <summary>
        /// Reads an array of values from a <see cref="BitStream"/>.
        /// </summary>
        /// <param name="bs">The <see cref="BitStream"/> to read from.</param>
        /// <param name="count">The number of values to read.</param>
        /// <returns>The array of read values.</returns>
        public static long[] ReadLongs(this BitStream bs, int count)
        {
            var ret = new long[count];

            for (var i = 0; i < count; i++)
            {
                ret[i] = bs.ReadLong();
            }
            return(ret);
        }
 /// <summary>
 /// Reads a 64-bit signed integer.
 /// </summary>
 /// <param name="name">Unused by the <see cref="BinaryValueReader"/>.</param>
 /// <returns>Value read from the reader.</returns>
 public long ReadLong(string name)
 {
     return(_reader.ReadLong());
 }
        void RecvSetGameTime(IIPSocket conn, BitStream r)
        {
            var serverTimeBinary = r.ReadLong();
            var serverTime = DateTime.FromBinary(serverTimeBinary);

            GameDateTime.SetServerTimeOffset(serverTime);
        }