daehwan2yo / dig-up-kotlin

1 stars 0 forks source link

Java nio to Kotlin #16

Open daehwan2yo opened 1 year ago

daehwan2yo commented 1 year ago

NIO

Java New Input & Output

using java nio

Channel : I/O abstraction

Selectors : an Object which monitors multiple channels for the events

기존 java io package 와 차이점

IMG_E98CC6CD1AA9-1

daehwan2yo commented 1 year ago

Buffer

A container for data of a specific primitive type

thread safety : are not safe for use by multiple concurrent threads.

Transferring data

Each subclass of this class defines two categories of get and put operations.

Marking and resetting

mark is not always defined.

Additional operations