Open
Bug 303319
Opened 20 years ago
Updated 3 years ago
Cannot mix ReadLine and Read calls on a FileInputStream
Categories
(Core :: Networking: File, defect, P5)
Core
Networking: File
Tracking
()
NEW
People
(Reporter: darin.moz, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-would-take])
Cannot mix ReadLine and Read calls on a FileInputStream
ReadLine has an internal buffer that Read does not know about. As a result, it
is not possible to mix calls to ReadLine and Read on the same FileInputStream.
Comment 1•19 years ago
|
||
I need to mix readLine() and read() calls to a stream.
I was thinking of creating two streams to the same file, but apparently tell() doesn't work well with the lineinputstream, so I won't even know where to seek to.
Do you guys have any suggestion for a workaround?
| Reporter | ||
Updated•19 years ago
|
Assignee: darin → nobody
QA Contact: benc → networking.file
Updated•16 years ago
|
Assignee: nobody → michal.novotny
Updated•10 years ago
|
Whiteboard: [necko-would-take]
Comment 2•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Comment 3•4 years ago
|
||
Unassigning Michal to move bugs back to triage pool.
Assignee: michal.novotny → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•