#Is this bit of code readable enough or is there something I can do to simplify it?
1 messages · Page 1 of 1 (latest)
sorry by context i meant can you share the surrounding class body? or at least the property definition for arr?
is the file guaranteed to be a text file? if so i would work in terms of strings rather than an array of bytes as numbers
also if possible can you share how you are reading the file in the first place? that might help clarify
the typescript playground (https://www.typescriptlang.org/play) is a nice way to share larger code snippets, FYI