예제 #1
0
        public void Serialize(NetBitReader reader)
        {
            DebugData = reader.ReadBytes(2);

            if (reader.IsError || !reader.AtEnd())
            {
            }
        }
예제 #2
0
        private byte[] AsByteArray()
        {
            _reader.Reset();

            return(_reader.ReadBytes((int)Math.Floor(_reader.GetBitsLeft() / 8.0)));
        }
 public void Serialize(NetBitReader reader)
 {
     EncryptedReplayData = reader.ReadBytes(reader.GetBitsLeft() / 8);
 }
예제 #4
0
        private byte[] AsByteArray()
        {
            _reader.Reset();

            return(_reader.ReadBytes((int)Math.Ceiling(_reader.GetBitsLeft() / 8.0)).ToArray());
        }
        public void Serialize(NetBitReader reader)
        {
            int length = reader.ReadInt32();

            EncryptedReplayData = reader.ReadBytes(length);
        }
예제 #6
0
 public void Serialize(NetBitReader reader)
 {
     DebugData = reader.ReadBytes(2);
 }