Ads Sponsored By Google :)

Tuesday, 29 January 2013

what is read|difference|between byte stream and|vs character stream in java example from file


byte Stream in java byte Stream byte Stream classes in java byte stream java what is byte stream in java
character stream vs byte stream in java byte stream classes hierarchy byte Stream in java example
read byte stream in java btye output stream java example read byte stream in java read byte stream from file java what is byte stream in and character stream in java what is byte stream class in java difference between character stream and byte stream



         Byte Stream:

      Byte Streams are those which will transfer one byte at a time between primary memory 
   and secondary memory.
      In other words byte by byte transferring the data between primary memory and secondary 
  memory is known as Byte Stream. Byte  Streams are not much effective compared to  
  character stream. Data transfer data is low.

  Byte Stream contains two categories of classes

a)  One category of classes participates in write operation which will transfer one byte 
     at a time from primary memory to secondary memory.

b)  Another category of classes participates in read operation which will transfer one byte at a time from secondary memory to primary memory.

   Byte Stream Vs Character Stream

        Character Streaming are those which will transfer two bytes at a time between primary  
    memory and secondary memory. These are more effective than Byte Streams, because 
   data transfer rate of character Streams is more than byte Streams.
   
      Byte Streams are those which will transfer one byte at a time between primary memory 
   and secondary memory. And the data transfer rate is very low when compared to 
  Character Stream.


    Byte Stream Classes Hierarchy:

Byte Stream Classes Hierarchy
    

2 comments:

LinkWithin