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 8479361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:00:03+00:00 2026-06-10T19:00:03+00:00

This is a basic question. When I use a byte stream to write bytes

  • 0

This is a basic question.

When I use a byte stream to write bytes to a file, am I creating a binary file?

For example: I use a byte stream to write text data to a notepad and when I open the notepad in a HEX viewer I see the corresponding hex value for each character. But why not the binary values (i.e 0s and 1s).

I also learned that using a dataoutput/input stream I read/write binary file.

I guess my confusion is with what does it mean to write bytes and what does it mean to write a binary data.

  • 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-10T19:00:05+00:00Added an answer on June 10, 2026 at 7:00 pm

    When I use a byte stream to write bytes to a file, am I creating a binary file?

    You write the bytes as is, e.g., as the ones and zeroes they are. If these bytes represents characters then commonly no, it’s just a text-file (everything is ones and zeroes after all). Otherwise the answers is it depends. The term binary file is missleading, but is usually referers to as a file which can contain arbitrary data.

    when I open the notepad in a HEX viewer I see the corresponding hex value for each character. But why not the binary values

    HEX is just another representation of bytes. The following three are equal

    10       (Decimal value 10)
    0xA      (Hex value 10)
    00001010 (Binary value 10)
    

    A computer only stores binary values. But editors may choose to represent (display) those in another way, such as Hex or decimal form. Given enough bytes, it can even be represented as an image.

    what does it mean to write bytes and what does it mean to write a binary data

    Binary data means ones and zeroes, e.g., 00001010 which are 8 bits. 8 bits makes a byte.

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

Sidebar

Related Questions

This may seem like a realy basic question but... How do you use double
hopefully this is a basic question about make pattern rules: I want to use
At my Work we use RTC for SCM. This seems like a basic question
This must be a really basic question: I am trying to use Matplotlib. Here's
This is going to sound like a basic question but... How do I use
Can I use spring liferay for mobile web development? This is very basic question
Forgive my ignorance in asking this basic question but I've become so used to
This might be basic question but how do I create a list of lists
This is a basic question - when spring bean is loaded and if i
This might be basic question, however I am confused on some .Net Concpets. I

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.