ここではdocに記載されているとおり、次のフラグを渡すことができます。それぞれはその意味を説明した。
int CRLF -> Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.
int DEFAULT -> Default values for encoder/decoder flags.
int NO_CLOSE -> Flag to pass to Base64OutputStream to indicate that it should not close the output stream it is wrapping when it itself is closed.
int NO_PADDING -> Encoder flag bit to omit the padding '=' characters at the end of the output (if any).
int NO_WRAP -> Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).
int URL_SAFE -> Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where - and _ are used in place of + and /.
[APIのドキュメント](https://developer.android.com/reference/android/util/Base64.html)を参照してください。定数 'NO_WRAP'は値2を持つので、2番目の質問に対する答えはyesです。 0は 'Base64.DEFAULT'と同じ意味です。それはすべてドキュメントにあります。 – Jesper
あなたはそれを次のように解決することができます:[Base64フラグのパラメータ](http://stackoverflow.com/questions/9436103/android-util-base64-encode-decode-flags-parameter) – Jai
最小の努力の法則... 。 – Hackerman