Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: String to Byte array

by Tux (Monsignor)
on Sep 19, 2013 at 16:34 UTC ( #1054879=note: print w/ replies, xml ) Need Help??


in reply to String to Byte array

I'd suggest using unpack.


Enjoy, Have FUN! H.Merijn


Comment on Re: String to Byte array
Replies are listed 'Best First'.
Re^2: String to Byte array
by erictrarner (Initiate) on Oct 11, 2014 at 08:01 UTC
    Using UTF8 conversion byte[] bArray = Encoding.UTF8.GetBytes (inputString); Using ASCII conversion byte[] bArray = Encoding.ASCII.GetBytes (inputString); Full Source: http://net-informations.com/q/faq/stringtobyte.html Eric

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2015-07-30 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls