org.apache.activemq.artemis.utils.Base64.decode4to3()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(191)

本文整理了Java中org.apache.activemq.artemis.utils.Base64.decode4to3()方法的一些代码示例,展示了Base64.decode4to3()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Base64.decode4to3()方法的具体详情如下:
包路径:org.apache.activemq.artemis.utils.Base64
类名称:Base64
方法名:decode4to3

Base64.decode4to3介绍

[英]Decodes four bytes from array source and writes the resulting bytes (up to three of them) to destination. The source and destination arrays can be manipulated anywhere along their length by specifying srcOffset and destOffset. This method does not check to make sure your arrays are large enough to accommodate srcOffset + 4 for the source array or destOffset + 3 for the destination array. This method returns the actual number of bytes that were converted from the Base64 encoding.

This is the lowest level of the decoding methods with all possible parameters.
[中]从阵列源解码四个字节,并将结果字节(最多三个)写入目标。源和目标数组可以通过指定srcfostate和destcostate在其长度上的任何位置进行操作。此方法不会进行检查,以确保阵列足够大,可以容纳源阵列的srcpoffset+4或目标阵列的destpoffset+3。此方法返回从Base64编码转换的实际字节数。
这是具有所有可能参数的解码方法的最低级别。

代码示例

代码示例来源:origin: wildfly/wildfly

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

代码示例来源:origin: apache/activemq-artemis

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

代码示例来源:origin: apache/activemq-artemis

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

代码示例来源:origin: apache/activemq-artemis

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

代码示例来源:origin: org.jboss.eap/wildfly-client-all

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

代码示例来源:origin: org.apache.activemq/artemis-commons

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
 outBuffPosn += Base64.decode4to3(b4, 0, outBuff, outBuffPosn, options);
 b4Posn = 0;

相关文章