Base64.GetMimeEncoder(Int32, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Encoder that encodes using the
<a href="#mime">MIME</a> type base64 encoding scheme.
[Android.Runtime.Register("getMimeEncoder", "(I[B)Ljava/util/Base64$Encoder;", "", ApiSince=26)]
public static Java.Util.Base64.Encoder? GetMimeEncoder(int lineLength, byte[]? lineSeparator);
[<Android.Runtime.Register("getMimeEncoder", "(I[B)Ljava/util/Base64$Encoder;", "", ApiSince=26)>]
static member GetMimeEncoder : int * byte[] -> Java.Util.Base64.Encoder
Parameters
- lineLength
- Int32
the length of each output line (rounded down to nearest multiple of 4). If the rounded down line length is not a positive value, the output will not be separated in lines
- lineSeparator
- Byte[]
the line separator for each output line
Returns
A Base64 encoder.
- Attributes
Remarks
Java documentation for java.util.Base64.getMimeEncoder().
Java reference for java.util.Base64.getMimeEncoder.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.