[DiscordArchive] <@456226577798135808> what is it?
[DiscordArchive] <@456226577798135808> what is it?
Archived author: Skarn • Posted: 2018-10-20T08:43:02.032000+00:00
Original source
I need to import from it
Archived author: Deleted User • Posted: 2018-10-20T08:43:58.637000+00:00
Original source
i didnt need an import, but i can convert it to a byte array
Archived author: Skarn • Posted: 2018-10-20T08:44:43.777000+00:00
Original source
Yeah, I am not sure really: whatever requires no cython installed on users end will do
Archived author: Skarn • Posted: 2018-10-20T08:45:19.475000+00:00
Original source
As long as I can read bytes from it same way as I can create a BytesIO object from it
Archived author: Deleted User • Posted: 2018-10-20T08:46:11.473000+00:00
Original source
```python
def main():
handler = CascHandlerLocal()
handler.initialize("/mnt/u/Program Files (x86)/World of Warcraft")
content = handler.openFile("DBFilesClient\\Map.db2")
f = open("Map.db2", 'w')
f.write(content)
f.close()
```
Archived author: Deleted User • Posted: 2018-10-20T08:46:36.347000+00:00
Original source
its a bytearray
Archived author: Deleted User • Posted: 2018-10-20T08:46:40.475000+00:00
Original source
bytes/bytearray
Archived author: Skarn • Posted: 2018-10-20T08:48:43.987000+00:00
Original source
That totally works
Archived author: Skarn • Posted: 2018-10-20T08:49:09.427000+00:00
Original source
Can you please create methods to open by filedataid too?
Archived author: Deleted User • Posted: 2018-10-20T08:49:41.787000+00:00
Original source
yea, it has that too