Reading File_To_Buffer By Line

Is there a way to read a buffer by line?

Also, is there a way to expose what properties an object has? I.e. buffers have a buffer.length()
 

fronobulax

Developer
Staff member
I don't think there is and that was by design.

If the file does not have special end of line handling or comments that can be ignored I think the expectation is that an array of strings is used and then iterated over.

The only real use case I can think of is when a user's environment is constrained so that the buffer "won't fit" and so the script trying to read it fails. if that is the case, before I considered a FR I would at least look at mafia and see whether there was something mafia could do to address the sizing issue.
 
Top