コード例 #1
0
        public static void Read(this IDictionary <Tuple <byte, byte>, float> _this, AssetStream stream)
        {
            int count = stream.ReadInt32();

            for (int i = 0; i < count; i++)
            {
                Tuple <byte, byte> key = stream.ReadTupleByteByte();
                float value            = stream.ReadSingle();
                _this.Add(key, value);
            }
        }