Computer Science, asked by divyanshi261, 1 year ago

➰❗❗HeÿA ❗❗➰

Question ➡

Define Byte - Oriented Stream

Thanks ❤

Answers

Answered by rashiverma32
4
Heyyy..here is ur answer....⬇️

May it helps uh..☺

➡️The byte is a unit of digital information that most commonly consists of eight bits, representing a binary number. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit of memory in many computer architectures.

➡️A bitstream (or bit stream), also known as binary sequence, is a sequence of bits. A bytestream is a sequence of bytes. Typically, each byte is an 8-bit quantity (octets), and so the term octet stream is sometimes used interchangeably.

Hope it helps uh..✌

Thanx..❤

By- Ri
Answered by Anonymous
1


A byte stream access the file byte by byte. Java programs use byte streams to perform input and output of 8-bit bytes. It is suitable for any kind of file, however not quite appropriate for text files. For example, if the file is using a unicode encoding and a character is represented with two bytes, the byte stream will treat these separately and you will need to do the conversion yourself. Byte oriented streams do not use anyencoding scheme while Character oriented streams use character encoding scheme(UNICODE). All byte stream classes are descended from InputStream andOutputStream ..

Similar questions