IT. Expert System.

Android Reference

DataOutput


java.io

Interface DataOutput

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void write(byte[] buffer)
      Writes the entire contents of the byte array buffer to this stream.
      void write(byte[] buffer, int offset, int count)
      Writes count bytes from the byte array buffer starting at offset index.
      void write(int oneByte)
      Writes the specified 8-bit byte.
      void writeBoolean(boolean val)
      Writes the specified boolean.
      void writeByte(int val)
      Writes the specified 8-bit byte.
      void writeBytes(String str)
      Writes the low order 8-bit bytes from the specified string.
      void writeChar(int val)
      Writes the specified 16-bit character in big-endian order.
      void writeChars(String str)
      Writes the 16-bit characters contained in str in big-endian order.
      void writeDouble(double val)
      Writes the specified 64-bit double in big-endian order.
      void writeFloat(float val)
      Writes the specified 32-bit float in big-endian order.
      void writeInt(int val)
      Writes the specified 32-bit int in big-endian order.
      void writeLong(long val)
      Writes the specified 64-bit long in big-endian order.
      void writeShort(int val)
      Writes the specified 16-bit short in big-endian order.
      void writeUTF(String str)
      Writes the specified string encoded in modified UTF-8.
    • Method Detail

      • write

        void write(byte[] buffer)
                   throws IOException
        Writes the entire contents of the byte array buffer to this stream.
        Parameters:
        buffer - the buffer to write.
        Throws:
        IOException - if an I/O error occurs while writing.
      • write

        void write(byte[] buffer,
                 int offset,
                 int count)
                   throws IOException
        Writes count bytes from the byte array buffer starting at offset index.
        Parameters:
        buffer - the buffer to write.
        offset - the index of the first byte in buffer to write.
        count - the number of bytes from the buffer to write.
        Throws:
        IOException - if an I/O error occurs while writing.
      • write

        void write(int oneByte)
                   throws IOException
        Writes the specified 8-bit byte.
        Parameters:
        oneByte - the byte to write.
        Throws:
        IOException - if an I/O error occurs while writing.
        See Also:
        DataInput.readByte()
      • writeBoolean

        void writeBoolean(boolean val)
                          throws IOException
        Writes the specified boolean.
        Parameters:
        val - the boolean value to write.
        Throws:
        IOException - if an I/O error occurs while writing.
        See Also:
        DataInput.readBoolean()
      • writeBytes

        void writeBytes(String str)
                        throws IOException
        Writes the low order 8-bit bytes from the specified string.
        Parameters:
        str - the string containing the bytes to write.
        Throws:
        IOException - if an I/O error occurs while writing.
      • writeChar

        void writeChar(int val)
                       throws IOException
        Writes the specified 16-bit character in big-endian order. Only the two least significant bytes of the integer oneByte are written.
        Parameters:
        val - the character to write.
        Throws:
        IOException - if an I/O error occurs while writing.
        See Also:
        DataInput.readChar()
      • writeChars

        void writeChars(String str)
                        throws IOException
        Writes the 16-bit characters contained in str in big-endian order.
        Parameters:
        str - the string that contains the characters to write.
        Throws:
        IOException - if an I/O error occurs while writing.
        See Also:
        DataInput.readChar()
      • writeInt

        void writeInt(int val)
                      throws IOException
        Writes the specified 32-bit int in big-endian order.
        Parameters:
        val - the int to write.
        Throws:
        IOException - if an I/O error occurs while writing.
        See Also:
        DataInput.readInt()
      • writeLong

        void writeLong(long val)
                       throws IOException
        Writes the specified 64-bit long in big-endian order.
        Parameters:
        val - the long to write.
        Throws:
        IOException - if an I/O error occurs while writing.
        See Also:
        DataInput.readLong()


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: 2866 / . Delta: 0.03038 с