Top "Byte" questions

A unit of information usually corresponding to 8 bits.

Java: BufferedImage to byte array and back

I see that a number of people have had a similar problem, however I'm yet to try find exactly what …

java arrays byte bufferedimage
Using Python How can I read the bits in a byte?

I have a file where the first byte contains encoded information. In Matlab I can read the byte bit by …

python byte bits
2 bytes to short java

i'm reading 133 length packet from serialport,last 2 bytes contain CRC values,2 bytes value i've make single(short i think) using …

java type-conversion byte core short
PIL: Convert Bytearray to Image

I am trying to verify a bytearray with Image.open and Image.verify() without writing it to disk first and …

python arrays image byte python-imaging-library
Why does a byte only have 0 to 255?

Why does a byte only range from 0 to 255?

binary byte
byte operations (XOR) in python

#!/usr/bin/env python3 import binascii var=binascii.a2b_qp("hello") key=binascii.a2b_qp("supersecretkey")[:len(var)] …

python encryption byte type-conversion operation
Why is a boolean 1 byte and not 1 bit of size?

In C++, Why is a boolean 1 byte and not 1 bit of size? Why aren't there types like a 4-bit or 2…

c++ boolean byte cpu-architecture abi
Go string to ascii byte array

How can I encode my string as ASCII byte array?

go byte ascii
Byte array of unknown length in java

I am constructing an array of bytes in java and I don't know how long the array will be. I …

java buffer byte
Converting C# byte to BitArray

Is there any predefined function available to convert a byte into BitArray? One way would be to inspect every bit …

c# byte bitarray