From: Sam Roberts Date: 2004-11-27T01:19:09+09:00 Subject: std method to convert string of bytes into Integer? I've a string of bytes, represented as a String, most significant byte first, and I want to convert it to an Integer (actually, they will usually be big enough that they will end up as a Bignum). I thought String#unpack, but it won't deal with anything larger than 4 or 8 bytes, it seems. I don't think String#to_i will do it either. I've written such a method myself, but I'd like to not duplicate the std lib is possible! Cheers, Sam