Java NIO – Buffers
Buffers are containers of data. They store bytes and other primitive java types in arrays and allow processes to read and write bytes onto them. Buffers have three important properties. 1. Position – identifies the index where the next byte will be written or read. 2. Limit – identifies the index where there is no … Read more