IT. Expert System.

Android Reference

WritableByteChannel


java.nio.channels

Interface WritableByteChannel

    • Method Summary

      Methods
      Modifier and Type Method and Description
      int write(ByteBuffer buffer)
      Writes bytes from the given buffer to the channel.
    • Method Detail

      • write

        int write(ByteBuffer buffer)
                  throws IOException
        Writes bytes from the given buffer to the channel.

        The maximum number of bytes that will be written is the remaining() number of bytes in the buffer when the method invoked. The bytes will be written from the buffer starting at the buffer's position.

        The call may block if other threads are also attempting to write on the same channel.

        Upon completion, the buffer's position() is updated to the end of the bytes that were written. The buffer's limit() is unmodified.

        Parameters:
        buffer - the byte buffer containing the bytes to be written.
        Returns:
        the number of bytes actually written.
        Throws:
        NonWritableChannelException - if the channel was not opened for writing.
        ClosedChannelException - if the channel was already closed.
        AsynchronousCloseException - if another thread closes the channel during the write.
        ClosedByInterruptException - if another thread interrupt the calling thread during the write.
        IOException - another IO exception occurs, details are in the message.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 15244 / 248392467. Delta: 0.01201 с