IT. Expert System.

Android Reference

Base64OutputStream


android.util

Class Base64OutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable


    public class Base64OutputStream
    extends FilterOutputStream
    An OutputStream that does Base64 encoding on the data written to it, writing the resulting data to another OutputStream.
    • Constructor Detail

      • Base64OutputStream

        public Base64OutputStream(OutputStream out,
                          int flags)
        Performs Base64 encoding on the data written to the stream, writing the encoded data to another OutputStream.
        Parameters:
        out - the OutputStream to write the encoded data to
        flags - bit flags for controlling the encoder; see the constants in Base64
      • Base64OutputStream

        public Base64OutputStream(OutputStream out,
                          int flags,
                          boolean encode)
        Performs Base64 encoding or decoding on the data written to the stream, writing the encoded/decoded data to another OutputStream.
        Parameters:
        out - the OutputStream to write the encoded data to
        flags - bit flags for controlling the encoder; see the constants in Base64
        encode - true to encode, false to decode
    • Method Detail

      • write

        public void write(int b)
                   throws IOException
        Description copied from class: FilterOutputStream
        Writes one byte to the target stream. Only the low order byte of the integer oneByte is written.
        Overrides:
        write in class FilterOutputStream
        Parameters:
        b - the byte to be written.
        Throws:
        IOException - if an I/O error occurs while writing to this stream.
      • write

        public void write(byte[] b,
                 int off,
                 int len)
                   throws IOException
        Description copied from class: FilterOutputStream
        Writes count bytes from the byte array buffer starting at offset to the target stream.
        Overrides:
        write in class FilterOutputStream
        Parameters:
        b - the buffer to write.
        off - the index of the first byte in buffer to write.
        len - the number of bytes in buffer to write.
        Throws:
        IOException - if an I/O error occurs while writing to this stream.


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: 356 / 158680815. Delta: 0.03294 с