filmov
tv
Java I/O Streams - Byte Streams: READ (InputStream) and WRITE (OutputStream) byte-content Files
![preview_player](https://i.ytimg.com/vi/iXXp1XGlWac/maxresdefault.jpg)
Показать описание
In today’s video, we’ll continue to review together Java IO APIs. This time, we’ll review IO Streams, especially Byte Streams.
There are 2 categories of I/O Streams to support 2 kinds of content for a resource:
- Byte Streams: for byte content like an image or a video that process bytes as a unit of data
- Character Streams: for character content like a text file, a XML or JSON document that process characters as a unit of data
References:
(00:00): Introduction
(02:02): Byte Streams
(02:42): Low-level Streams: FileInputStream/FileOutputStream
(11:28): Low-level Streams + Batching
(16:47): High-level Streams: BufferedInputStream/BufferedOutputStream
(19:57): Low-level Streams + High-level Streams + Batching
(24:52): Reading small files with readAllBytes()
(26:20): Modern Java (NIO2)
There are 2 categories of I/O Streams to support 2 kinds of content for a resource:
- Byte Streams: for byte content like an image or a video that process bytes as a unit of data
- Character Streams: for character content like a text file, a XML or JSON document that process characters as a unit of data
References:
(00:00): Introduction
(02:02): Byte Streams
(02:42): Low-level Streams: FileInputStream/FileOutputStream
(11:28): Low-level Streams + Batching
(16:47): High-level Streams: BufferedInputStream/BufferedOutputStream
(19:57): Low-level Streams + High-level Streams + Batching
(24:52): Reading small files with readAllBytes()
(26:20): Modern Java (NIO2)