public static void Read(this IDictionary <string, ushort> _this, EndianStream stream) { int count = stream.ReadInt32(); for (int i = 0; i < count; i++) { string key = stream.ReadStringAligned(); ushort value = stream.ReadUInt16(); _this.Add(key, value); } }