MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / read_short_string_array

Method read_short_string_array

tools/parse_languages_loc.py:45–50  ·  view source on GitHub ↗
(self, count: int)

Source from the content-addressed store, hash-verified

43 return values
44
45 def read_short_string_array(self, count: int):
46 values = []
47 for _ in range(count):
48 length = self.read_ushort()
49 values.append(self.read_string(length))
50 return values
51
52class LOCLanguageListEntry:
53 language_code_length: ctypes.c_ushort

Callers 1

readMethod · 0.80

Calls 2

read_ushortMethod · 0.95
read_stringMethod · 0.95

Tested by

no test coverage detected