IT. Expert System.

Android Reference

DataOutputStream


java.io

Class DataOutputStream

    • Field Summary

      Fields
      Modifier and Type Field and Description
      protected int written
      The number of bytes written out so far.
    • Constructor Summary

      Constructors
      Constructor and Description
      DataOutputStream(OutputStream out)
      Constructs a new DataOutputStream on the OutputStream out.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void flush()
      Flushes this stream to ensure all pending data is sent out to the target stream.
      int size()
      Returns the total number of bytes written to the target stream so far.
      void write(byte[] buffer, int offset, int count)
      Writes count bytes from the byte array buffer starting at offset to the target stream.
      void write(int oneByte)
      Writes a byte to the target stream.
      void writeBoolean(boolean val)
      Writes a boolean to the target stream.
      void writeByte(int val)
      Writes an 8-bit byte to the target stream.
      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.
    • Field Detail

      • written

        protected int written
        The number of bytes written out so far.
    • Constructor Detail

      • DataOutputStream

        public DataOutputStream(OutputStream out)
        Constructs a new DataOutputStream on the OutputStream out. Note that data written by this stream is not in a human readable form but can be reconstructed by using a DataInputStream on the resulting output.
        Parameters:
        out - the target stream for writing.


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: 298 / . Delta: 0.03449 с