Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Im sorry, Im very new to all of this, but is there a way (easy or not easy) to convert bytes to octets using perl?

Replies are listed 'Best First'.
(jcwren) Re: bytes to octets?
by jcwren (Prior) on Jun 11, 2000 at 01:38 UTC
    Bytes and octets are the same thing. Byte was meant to indicate an 8-bit value, 99.999% of the time. However, in the interests of standardization, it was deemed that without question an octet would be 8 bits, no more, no less. It's a rare place in the world where you'll find a byte that's not 8 bits, but a few odd machines tried to call 7 bits a byte, here and there.

    So, it's highly unlikely that you actually need to do any conversion at all, given the terms you've picked.

    --Chris
      Do you have any supporting articles or books that you can recommend