in reply to Converting an array of bytes into a BigInt - speed considerations

Did you look at the pack function, it converts lists of things into a binary structure and returns it in a string.

C.

  • Comment on Re: Converting an array of bytes into a BigInt - speed considerations

Replies are listed 'Best First'.
Re: Re: Converting an array of bytes into a BigInt - speed considerations
by dempa (Friar) on Jan 23, 2003 at 12:34 UTC

    Yes, I know, but I seldom use pack and unpack. If it's possible to do this with pack I guess I have to read up on it.

    (Perl is really wonderful this way; I've been programming Perl for 6 years and still there are things relatively unknown to me!)

    -- 
    dempa