src/main/java/org/michailov/async/io/AsyncByteStreamWriter.java
@Override
    protected void action() {
        try {
            int availableByteCount = _byteRingBuffer.getAvailableToReadStraight();
            _outputStream.write(_byteRingBuffer.getBuffer(), _byteRingBuffer.getReadPosition(), availableByteCount);
            
            // Bytes were read from the ring buffer and written to the stream.
            // Advance the ring buffer's read position.
            _byteRingBuffer.advanceReadPosition(availableByteCount);
        }
        catch (Throwable ex) {
            setEOFAndThrow(ex);
        }
    }
/**
     * "<i>action</i>" function that reads bytes from the ring buffer and writes them to the stream.   
     */
"action" function that reads bytes from the ring buffer and writes them to the stream.
" action " function that reads bytes from the ring buffer and writes them to the stream .
@Override
    protected void action() {
        try {
            int availableByteCount = _byteRingBuffer.getAvailableToReadStraight();
            _outputStream.write(_byteRingBuffer.getBuffer(), _byteRingBuffer.getReadPosition(), availableByteCount);
            _byteRingBuffer.advanceReadPosition(availableByteCount);
        }
        catch (Throwable ex) {
            setEOFAndThrow(ex);
        }
    }
@ Override protected void action ( ) { try { int availableByteCount = _byteRingBuffer . getAvailableToReadStraight ( ) ; _outputStream . write ( _byteRingBuffer . getBuffer ( ) , _byteRingBuffer . getReadPosition ( ) , availableByteCount ) ; _byteRingBuffer . advanceReadPosition ( availableByteCount ) ; } catch ( Throwable ex ) { setEOFAndThrow ( ex ) ; } }
"<i>action</i>" function that reads bytes from the ring buffer and writes them to the stream.
" <i > action< / i > " function that reads bytes from the ring buffer and writes them to the stream .
// Bytes were read from the ring buffer and written to the stream.
 // Advance the ring buffer's read position.
