Bits and bytes of the relationship?

Bit: bit

A binary data 0 or 1 is the smallest unit of a computer transmission.

A byte of eight bits.

 

 

Byte: byte

 

Metering unit storage space, a byte has the eight bit.

The 1024 bytes and on behalf of 1K.

 

 

An English one byte (fixed encoding)

1 letter = 1byte = 8bit

 

A character occupies two bytes (fixed encoding)

1 = 2byte = 16 bit characters

 

Punctuation (English)

Chinese occupies two bytes, English occupies one byte

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/Rivend/p/12028323.html