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
[reply]
In Section
Seekers of Perl Wisdom