@Override
        public int read() throws IOException {
            byte[] buffer = new byte[1];
            int result = read(buffer, 0, 1);
            return (result != -1) ? buffer[0] & 0xff : -1;
        }
Reads one byte. If there is no data in the underlying buffer,
this operation can block until the data will be
available.
common/src/main/java/org/conscrypt/ConscryptFileDescriptorSocket.java