IT. Expert System.

Android Reference

ObjectInput


java.io

Interface ObjectInput

    • Method Detail

      • available

        int available()
                      throws IOException
        Indicates the number of bytes of primitive data that can be read without blocking.
        Returns:
        the number of bytes available.
        Throws:
        IOException - if an I/O error occurs.
      • close

        void close()
                   throws IOException
        Closes this stream. Implementations of this method should free any resources used by the stream.
        Specified by:
        close in interface AutoCloseable
        Throws:
        IOException - if an I/O error occurs while closing the input stream.
      • read

        int read()
                 throws IOException
        Reads a single byte from this stream and returns it as an integer in the range from 0 to 255. Returns -1 if the end of this stream has been reached. Blocks if no input is available.
        Returns:
        the byte read or -1 if the end of this stream has been reached.
        Throws:
        IOException - if this stream is closed or another I/O error occurs.
      • read

        int read(byte[] buffer)
                 throws IOException
        Reads bytes from this stream into the byte array buffer. Blocks while waiting for input.
        Parameters:
        buffer - the array in which to store the bytes read.
        Returns:
        the number of bytes read or -1 if the end of this stream has been reached.
        Throws:
        IOException - if this stream is closed or another I/O error occurs.
      • read

        int read(byte[] buffer,
               int offset,
               int count)
                 throws IOException
        Reads at most count bytes from this stream and stores them in byte array buffer starting at offset count. Blocks while waiting for input.
        Parameters:
        buffer - the array in which to store the bytes read.
        offset - the initial position in buffer to store the bytes read from this stream.
        count - the maximum number of bytes to store in buffer.
        Returns:
        the number of bytes read or -1 if the end of this stream has been reached.
        Throws:
        IOException - if this stream is closed or another I/O error occurs.
      • skip

        long skip(long byteCount)
                  throws IOException
        Skips byteCount bytes on this stream. Less than byteCount byte are skipped if the end of this stream is reached before the operation completes.
        Returns:
        the number of bytes actually skipped.
        Throws:
        IOException - if this stream is closed or another I/O error occurs.


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: 1280 / . Delta: 0.03893 с