Binary-coded decimal Binary-coded decimal In computing and electronic systems, binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits, usually four or eight. Special bit patterns are sometimes used for a sign or for other indications (e.g., error or overflow). In byte-oriented systems (i.e. most modern computers), the term "unpacked" BCD usually implies a full byte for each digit (often including a sign), whereas "packed" BCD typically encodes two decimal digits within a single byte by taking advantage of the fact that four bits are enough to represent
Byte serving data. It is often used when a server does not know exactly how much data there will be in the total response, allowing the server to start sending data to the client straight away without having to buffer the response and determine the exact length before it begins sending it to the client. This improves latency and reduces memory requirements while preserving the ability to reuse the connection after the response is completed. Byte serving and chunking are compatible and can be used with or without the other. Byte serving Byte serving (other names: RFC 7233 says the client makes