Why do you think the Java language chooses to treat file data as a stream rather than as a single object?
i2u2me
-2
Newbie Poster
Recommended Answers
Jump to PostWhat kind of object do you think that could be? How big do you think it could be?
Java 7's NIO package includes a MappedByteBuffer class that maps the contents of the file to a logical array of bytes (or other primitive types) in memory, but you do have …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.