We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fbba23 commit 3c0b96fCopy full SHA for 3c0b96f
javoc/class/handlers/constantPool.lua
@@ -19,10 +19,7 @@ constantPoolHandler[1] = function(stream)
19
20
local length = binaryUtils.readU2(stream)
21
22
- -- TODO: Implement proper UTF8 loading
23
- for i = 1, length do
24
- constant.value = constant.value .. string.char(binaryUtils.readU1(stream))
25
- end
+ constant.value = stream:read(length)
26
27
debugPrint("Utf8 constant.")
28
debugPrint("Lenght - " .. length .. " bytes")
0 commit comments