Top "Byte" questions

A unit of information usually corresponding to 8 bits.

Byte Array in Python

How can I represent a byte array (like in Java with byte[]) in Python? I'll need to send it over …

python byte gevent
How to convert a byte to its binary string representation

For example, the bits in a byte B are 10000010, how can I assign the bits to the string str literally, …

java binary byte
How to declare and use 1D and 2D byte arrays in Verilog?

How to declare and use 1D and 2D byte arrays in Verilog? eg. how to do something like byte a_2…

arrays byte verilog
How to Convert Int to Unsigned Byte and Back

I need to convert a number into an unsigned byte. The number is always less than or equal to 255, and …

java byte int
How to convert between bytes and strings in Python 3?

This is a Python 101 type question, but it had me baffled for a while when I tried to use a …

string python-3.x byte
C program to check little vs. big endian

Possible Duplicate: C Macro definition to determine big endian or little endian machine? int main() { int x = 1; char *y = (char*)&…

c byte endianness
How do you specify a byte literal in Java?

If I have a method void f(byte b); how can I call it with a numeric argument without casting? …

java byte literals
Java: object to byte[] and byte[] to object converter (for Tokyo Cabinet)

I need to convert objects to a byte[] to be stored in the Tokyo Cabinet key-value store. I also need …

java serialization byte bytearray tokyo-cabinet
How to create python bytes object from long hex string?

I have a long sequence of hex digits in a string, such as 000000000000484240FA063DE5D0B744ADBED63A81FAEA390000…

python hex byte
What is the difference between a string and a byte string?

I am working with a library which returns a byte string and I need to convert this to a string. …

python string character byte