Skip to content

Commit c175d1a

Browse files
authored
Merge pull request #17 from toppers/python-develop
add raw member for binary access
2 parents ef1db4f + c378d07 commit c175d1a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

py/hako_binary/binary_reader.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ def binary_read_recursive(offmap, binary_data, json_data, base_off, typename):
3131
json_data[name] = value
3232
else:
3333
array_size = offset_parser.array_size(line)
34-
encode_type = "binary"
3534
array_value = binary_io.readBinary(binary_data, off, size)
36-
json_data[name + '_encode_type'] = encode_type
35+
json_data[name + '__raw' ] = array_value
3736
json_data[name] = binary_io.binToArrayValues(type, array_value)
3837
else:
3938
if (offset_parser.is_single(line)):

0 commit comments

Comments
 (0)