[README] clarify intended use of scan_structs
This commit is contained in:
parent
49a7ba2209
commit
92492b01d4
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ header = klamath.library.FileHeader.read(stream)
|
|||
struct_positions = klamath.library.scan_structs(stream)
|
||||
|
||||
stream.seek(struct_positions[b'my_struct'])
|
||||
elements_A = klamath.library.try_read_struct(stream)
|
||||
elements_A = klamath.library.read_elements(stream)
|
||||
|
||||
stream.close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue