资源简介
代码片段和文件信息
package com.dtl.turing.utils;
/**
* @Author 50244
**/
/*
* Copyright (c) 2012 2016 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the “Classpath“ exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not write to the Free Software Foundation
* Inc. 51 Franklin St Fifth Floor Boston MA 02110-1301 USA.
*
* Please contact Oracle 500 Oracle Parkway Redwood Shores CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import java.io.FilterOutputStream;
import java.io.InputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.objects;
/**
* This class consists exclusively of static methods for obtaining
* encoders and decoders for the base64 encoding scheme. The
* implementation of this class supports the following types of base64
* as specified in
* RFC 4648 and
* RFC 2045.
*
*
* - Basic
* Uses “The base64 Alphabet“ as specified in Table 1 of
* RFC 4648 and RFC 2045 for encoding and decoding operation.
* The encoder does not add any line feed (line separator)
* character. The decoder rejects data that contains characters
* outside the base64 alphabet.
*
* - URL and Filename safe
* Uses the “URL and Filename safe base64 Alphabet“ as specified
* in Table 2 of RFC 4648 for encoding and decoding. The
* encoder does not add any line feed (line separator) character.
* The decoder rejects data that contains characters outside the
* base64 alphabet.
*
* - MIME
* Uses the “The base64 Alphabet“ as specified in Table 1 of
* RFC 2045 for encoding and decoding operation. The encoded output
* must be represented in lines of no more than 76 characters each
* and uses a carriage return {@code ‘\r‘} followed immediately by
* a linefeed {@code ‘\n‘} as th
- 上一篇:Java学生成绩管理系统57584
- 下一篇:MCP 我的世界源码1.12
相关资源
- android简单传感器应用代码光线传感器
- Android实验报告
- Android使用Service播放音乐
- Android读取短信和联系人
- Android使用Fragment底部导航栏
- Android平台下的物业管理系统的设计与
- 南邮-Android studio 实现计算器
- Androidstudio视频播放
- 解决eclipse无NDK选项设置问题 com.and
- android design.jar包
- Android SDK 安装版 installer_r24.4.1-window
- android.support.v7
- Android Pie 9.0 x86 镜像文件,MD5
- 跌倒检测器 android 源码
- android蓝牙与全站仪、单片机数据交互
- android volley jar
- 蓝牙Activity
- Android 课设 精美闹钟源码(含apk)
- Android使用socket的demo
- Eclipseandroid-support-v7-recyclerview.jar
- mqtt android使用源码
-
ba
se64Decoder - 关于Android的外文文献
- labview与android通信
- android开发范例实战宝典源代码VS视频
- 基于安卓的手机流量监控软件 文献综
- org.eclipse.paho.android.service-1.1.0.jar
- Android手机测试用例
- 内涵FileProvider的android-support-v4包,版
- Android 仿「微信」自定义数字键盘
评论
共有 条评论