Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
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 romping around the Monastery: (8)
As of 2014-12-20 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls