Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: String to Byte array

by Tux (Canon)
on Sep 19, 2013 at 16:34 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1054879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-29 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found