[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Base64Encoder

inherits from Object
inherits from Stream
inherits from Writer

Object <- Base64Encoder



Operations

Get list of all operations

DoFlushWriter
DoOpenWriter
DoSeekWriter


Attributes

Get list of all attributes

Class Base64Encoder defines no new attributes.


Fields

Field Type
Stream: target: Object
Writer: buffer: Buffer
start: Unsigned
low: Unsigned
high: Unsigned
current: Unsigned
closed: Boolean
seekable: Boolean
unbuffered: Boolean
Base64Encoder: writeRawEncoding: Boolean


Instance template

instance Base64Encoder tag;
         target: nilObject;
         buffer: nilObject;
          start: 0;
            low: 0;
           high: 0;
        current: 0;
         closed: false;
       seekable: false;
     unbuffered: false;
writeRawEncoding: false;
end instance;

Class definition

Define Class Base64Encoder;
    inherits from Object;
    inherits from Stream, Writer;

    field writeRawEncoding: Boolean;
        // if true, don't write CRLF pairs when encoding

    overrides DoSeekWriter;
        // encodes the buffer as base64 and writes it to the target stream
    overrides DoFlushWriter;
        // flushes out any remaining data, handling the base64 padding requirement
    overrides DoOpenWriter;
        // allocates a buffer
end class;