少年修仙传客户端基础资源
client_Wu Xijin
2018-08-14 31c2cebbccba45a00a755981dd6d0cdd0a0459e9
Assets/Editor/MemoryProfiler/BytesAndOffset.cs
@@ -23,25 +23,25 @@
        public Int32 ReadInt32()
        {
            return BitConverter.ToInt32(bytes, offset);
        }
        public Int64 ReadInt64()
        {
            return BitConverter.ToInt64(bytes, offset);
        }
        }
        public Int64 ReadInt64()
        {
            return BitConverter.ToInt64(bytes, offset);
        }
        public BytesAndOffset Add(int add)
        {
            return new BytesAndOffset() {bytes = bytes, offset = offset + add, pointerSize = pointerSize};
        }
        public void WritePointer(UInt64 value)
        {
            for (int i = 0; i < pointerSize; i++)
            {
                bytes[i + offset] = (byte)value;
                value >>= 8;
            }
        {
            for (int i = 0; i < pointerSize; i++)
            {
                bytes[i + offset] = (byte)value;
                value >>= 8;
            }
        }
        public BytesAndOffset NextPointer()