[Resource] ASCII String & Byte Array Converter

11/13/2010 22:15 FuriousFang#1
#deleted
11/13/2010 22:33 iGeorge112#2
Thank you
11/13/2010 23:24 kinshi88#3
Code:
Encoding.ASCII.GetBytes(stringVal);

Encoding.ASCII.GetString(bytesVal);
Err.. that does just that lol
11/13/2010 23:41 FuriousFang#4
Quote:
Originally Posted by kinshi88 View Post
Code:
Encoding.ASCII.GetBytes(stringVal);

Encoding.ASCII.GetString(bytesVal);
Err.. that does just that lol
Not exactly... =P
You're forgetting about the input. I'm not saying it was hard. It's not. Just takes time to make the input. I just made it so I could develop my message packet.

Code:
if (e.KeyChar == (char)Keys.Enter)
            {
                try
                {
                    string[] ByteArray = ByteArrayBox.Text.Replace("\n", ":").Split(':');
                    byte[] newbuffer = new byte[ByteArray.Length];
                    int n = 0;
                    while (n != ByteArray.Length && ByteArray[n] != "")
                    {
                        newbuffer[n] = (byte.Parse(ByteArray[n]));
                        n++;
                    }
                    StringTextBox.Text = Encoding.ASCII.GetString(newbuffer, 0, newbuffer.Length);
                }
                catch { MessageBox.Show("The Array you inputed contains errors. Please check your Array.", "Format Error"); }
            }
11/14/2010 11:21 KraHen#5
This is a specific thing that you need, may I add that it`s extremely simple. I really do not see the point of this release/resource/w/e.
11/14/2010 15:25 †he Knight#6
That is very useful.
11/14/2010 16:15 _DreadNought_#7
Quote:
Originally Posted by JuiceDCodeR View Post
That is very useful.
Your comment was:
- Spam
- Just for Postcount
- Just wanted to say something

And another thing is that you have NO use for it, You dont know how it works, you know shit about it. I actually was up untill 3am working with getstrings, getbytes(along with Encryptions to them) So I do know how it works before you go saying nor do I.

@Fang: Pretty useless tool tbh.
Code:
byte[] Array = Encoding.ASCII.GetBytes("Black Ops is SICK!!");
Console.WriteLine("Bytes of 'Black Ops is SICK!! := {0}", Array);
string ArrayReversed = Encoding.ASCII.GetString(Array);
Console.WriteLine("Reversed := {0}", ArrayReversed);
Reversed is not the correct keyword to use but meh.
But at least you gave something to the community that has never been released before so I got to give you credits for that.
11/14/2010 16:23 †he Knight#8
Quote:
Originally Posted by _DreadNought_ View Post
Your comment was:
- Spam
- Just for Postcount
- Just wanted to say something

And another thing is that you have NO use for it, You dont know how it works, you know shit about it. I actually was up untill 3am working with getstrings, getbytes(along with Encryptions to them) So I do know how it works before you go saying nor do I.

@Fang: Pretty useless tool tbh.
Code:
byte[] Array = Encoding.ASCII.GetBytes("Black Ops is SICK!!");
Console.WriteLine("Bytes of 'Black Ops is SICK!! := {0}", Array);
string ArrayReversed = Encoding.ASCII.GetString(Array);
Console.WriteLine("Reversed := {0}", ArrayReversed);
Reversed is not the correct keyword to use but meh.
But at least you gave something to the community that has never been released before so I got to give you credits for that.
Haahaha Spam?
I Don't Know how to use it?

You seriously gotta stop chasing me... You act lifeless and pathetic..
11/14/2010 18:06 FuriousFang#9
Quote:
Originally Posted by KraHen View Post
This is a specific thing that you need, may I add that it`s extremely simple. I really do not see the point of this release/resource/w/e.
Please read previous posts. I stated that it was extremely simple; however, since I"m the only one that put it into an app to help code, I'm taking that it's a very useful release (if you know how to code packets and need to know what the offsets might be).
11/14/2010 19:01 Basser#10
Let me enjoy this bitchfight with an ice cold beer.