Hi. I’m using this to read a certain number of bytes at a time from a file.examples I’ve seen so far use this os.stream_from_handle proc, but I see in the latest it is in the core/old folder and my compiler says that it’s not declared by os.
Edit: Just saw this Moving Towards a New "core:os" | Odin Programming Language. I guess I’m testing the bleeding edge. I found it was
reader: bufio.Reader
buffer: []byte
bufio.reader_init(&reader, os.to_stream(file))