How can I convert a 48 hex string to bytes using Perl?

Posted by ron on Stack Overflow See other posts from Stack Overflow or by ron
Published on 2010-03-11T18:18:50Z Indexed on 2010/03/28 19:13 UTC
Read the original article Hit count: 260

Filed under:
|

I have a hex string (length 48 chars) that I want to convert to raw bytes with the pack function in order to put it in a Win32 vector of bytes.

How I can do this with Perl?

© Stack Overflow or respective owner

Related posts about perl

Related posts about pack