#Is this bit of code readable enough or is there something I can do to simplify it?

1 messages · Page 1 of 1 (latest)

vestal coral
#

can you share the wider context? i'm especially curious about what you're doing with this.array.subarray

vestal coral
#

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