Hacker News new | past | comments | ask | show | jobs | submit login

No, a byte is not always 8 bits. byte and char are basically synonymous.

    byte -- addressable unit of data storage large enough to hold any member of the
    basic character set of the execution environment.
    ...
    Note 2: A byte is composed of a contiguous sequence of bits,
    the number of which is implementation-defined.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: