Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8687859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:12:50+00:00 2026-06-12T23:12:50+00:00

I have read about FileInputStream and I found that it have read method where

  • 0

I have read about FileInputStream and I found that it have read method where it will read the byte data of the file.

What I want to know is what types of byte data does it read? Meaning does it use ASCII or Unicode or any other types?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:12:51+00:00Added an answer on June 12, 2026 at 11:12 pm

    what i want to know is what types of byte data does it read? meaning does it use ASCII or Unicode or any other types?

    As far as FileInputStream and its methods are concerned, there is only one “type” of data. And that type is “a sequence of bytes (or octets)”.

    Any other “types” are for another library (or application code) layer to deal with.

    The “types” you refer to as ASCII and Unicode are character encodings (roughly speaking). (In fact, Unicode is NOT an encoding at all … and doesn’t exactly make sense in this context. Encodings for Unicode have names like “UTF-8” and “UTF-16” and so on – see http://en.wikipedia.org/wiki/Comparison_of_Unicode_encodings.)

    Anyway, the standard way to “deal” with text file types (i.e. sequences of characters in some standard character encoding scheme) is to use a Reader class. And there is a wrapper class called InputStreamReader that is specifically designed for reading character data from an InputStream.

    Other non-textual “types” of data are handled by classes like ZipInputStream, InflaterInputStream, GZIPInputStream, the image reader classes, and so on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read about the push technologies recently. Using it real-time data streaming is
I have read about the different types of reference. I understand how strong, soft
I have read about the true messaging and that instead of sending payload on
I have read about zxing library but have no experience on that, also is
I have read about hashtable and open adrdessing. If you want to insert the
I have a method that creates a MessageDigest (a hash) from a file, and
I have read about making an object explicitly garbage collected, that in many ways.
I have read about this function didReceiveMemoryWarning that actually hasn't really helped. I would
I have read about when you are making a multicolumn index that the order
I have this kind of structure that I want to both read and write

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.