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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:35:58+00:00 2026-05-22T11:35:58+00:00

Possible Duplicate: Binary To Corresponding ASCII String Conversion I posted a slimier question before

  • 0

Possible Duplicate:
Binary To Corresponding ASCII String Conversion

I posted a slimier question before but didn’t got a correct answer..

my problem is i have a binary string as

00100000011101110110000101101110011101000010000001110100011011110010000001100100011011110111

Which im required to convert to "Normal ASCII String Text"

I used BinaryReader and read and encode System.Text.ASCIIEncoding.ASCII but im getting the same 0101010 string

    byte[] bytearray = b.ReadBytes((int)length);

    System.Text.Encoding encEncoder = System.Text.ASCIIEncoding.ASCII;

    string bb = encEncoder.GetString(bytearray);

any help will be grateful !

  • 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-05-22T11:35:59+00:00Added an answer on May 22, 2026 at 11:35 am

    first translate the binary string into a byte[] using How could I encode a string of 1s and 0s for transport?

    next use the Convert.ToBase64String method to get the actual System.String

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

Sidebar

Related Questions

Possible Duplicate: Convert NSString to ASCII Binary Equivilent (and then back to an NSString
Possible Duplicate: Determine if two binary trees are equal Got an interview yesterday, a
Possible Duplicate: How do you express binary literals in Python? When using the interactive
Possible Duplicate: Is there a printf converter to print in binary format? Consider this
Possible Duplicate: Why does Mercurial think my SQL files are binary? I generated a
Possible Duplicate: What is strong naming and how do I strong name a binary?
Possible Duplicate: question about leading zeros As in stackoverflow.com/questions/3232534/question-about-leading-zeros . Number of trailing zeros,
Possible Duplicate: Should I learn C before learning C++? As a professional (Java) programmer
Possible Duplicate: Why can't decimal numbers be represented exactly in binary? I am trying
Possible Duplicate: Why can't decimal numbers be represented exactly in binary? i get very

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.