XBinder C# Runtime Library
2.8
|
A Base64.EncoderOutputStream will write character data to a java.io.Writer
, given in the constructor, while encoding the bytes you write to Base64 notation.
More...
Public Member Functions | |
EncoderOutputStream (System.IO.StreamWriter out_Renamed) | |
Constructs a Base64.OutputStream in ENCODE mode. More... | |
EncoderOutputStream (System.IO.StreamWriter out_Renamed, int options) | |
Constructs a Base64.OutputStream in either ENCODE or DECODE mode. More... | |
void | WriteByte (int theByte) |
Writes the byte to the output stream after converting to/from Base64 notation. Bytes are buffered three at a time before the output stream actually gets a write() call. More... | |
override void | WriteByte (byte theByte) |
override void | Write (System.Byte[] theBytes, int off, int len) |
Calls write(int) repeatedly until len bytes are written. More... | |
virtual void | flushBase64 () |
Method added by PHIL. [Thanks, PHIL. -Rob] This pads the buffer without closing the stream. More... | |
override void | Close () |
Flushes and closes (I think, in the superclass) the stream. More... | |
override void | Flush () |
Flushes any stored up bytes and resets the current position back to zero. More... | |
override System.Int64 | Seek (System.Int64 offset, System.IO.SeekOrigin origin) |
override void | SetLength (System.Int64 value) |
override System.Int32 | Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) |
A Base64.EncoderOutputStream will write character data to a java.io.Writer
, given in the constructor, while encoding the bytes you write to Base64 notation.
<since> 1.3 </since>
com.objsys.xbinder.runtime.Base64.EncoderOutputStream.EncoderOutputStream | ( | System.IO.StreamWriter | out_Renamed | ) |
Constructs a Base64.OutputStream in ENCODE mode.
out | the java.io.Writer to which data will be written. |
<since> 1.3 </since>
com.objsys.xbinder.runtime.Base64.EncoderOutputStream.EncoderOutputStream | ( | System.IO.StreamWriter | out_Renamed, |
int | options | ||
) |
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
Valid options:
ENCODE: Encode data. DONT_BREAK_LINES: don't break lines at 76 characters Note: Technically, this makes your encoding non-compliant.
Example: new Base64.OutputStream( out, Base64.ENCODE )
out | the java.io.Writer to which data will be written. |
options | Specified options. |
<since> 1.3 </since>
override void com.objsys.xbinder.runtime.Base64.EncoderOutputStream.Close | ( | ) |
Flushes and closes (I think, in the superclass) the stream.
<since> 1.3 </since>
override void com.objsys.xbinder.runtime.Base64.EncoderOutputStream.Flush | ( | ) |
Flushes any stored up bytes and resets the current position back to zero.
|
virtual |
Method added by PHIL. [Thanks, PHIL. -Rob] This pads the buffer without closing the stream.
override void com.objsys.xbinder.runtime.Base64.EncoderOutputStream.Write | ( | System.Byte [] | theBytes, |
int | off, | ||
int | len | ||
) |
Calls write(int) repeatedly until len bytes are written.
theBytes | array from which to read bytes |
off | offset for array |
len | max number of bytes to read into array |
<since> 1.3 </since>
void com.objsys.xbinder.runtime.Base64.EncoderOutputStream.WriteByte | ( | int | theByte | ) |
Writes the byte to the output stream after converting to/from Base64 notation. Bytes are buffered three at a time before the output stream actually gets a write() call.
theByte | the byte to write |
<since> 1.3 </since>