本文整理了Java中org.apache.hadoop.hbase.util.Base64.decode4to3()
方法的一些代码示例,展示了Base64.decode4to3()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Base64.decode4to3()
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.util.Base64
类名称: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 accomodate 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: harbby/presto-connectors
buffer[position++] = (byte) theByte;
if (position >= bufferLength) { // Enough to output.
int len = decode4to3(buffer, 0, b4, 0, options);
out.write(b4, 0, len);
position = 0;
代码示例来源:origin: co.cask.hbase/hbase
buffer[position++] = (byte) theByte;
if (position >= bufferLength) { // Enough to output.
int len = decode4to3(buffer, 0, b4, 0, options);
out.write(b4, 0, len);
position = 0;
代码示例来源:origin: co.cask.hbase/hbase
b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
outBuffPosn += decode4to3(b4, 0, outBuff, outBuffPosn, options);
b4Posn = 0;
代码示例来源:origin: com.aliyun.hbase/alihbase-common
buffer[position++] = (byte) theByte;
if (position >= bufferLength) { // Enough to output.
int len = decode4to3(buffer, 0, b4, 0, options);
out.write(b4, 0, len);
position = 0;
代码示例来源:origin: com.aliyun.hbase/alihbase-common
b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
outBuffPosn += decode4to3(b4, 0, outBuff, outBuffPosn, options);
b4Posn = 0;
代码示例来源:origin: co.cask.hbase/hbase
numSigBytes = decode4to3(b4, 0, buffer, 0, options);
position = 0;
代码示例来源:origin: harbby/presto-connectors
numSigBytes = decode4to3(b4, 0, buffer, 0, options);
position = 0;
代码示例来源:origin: com.aliyun.hbase/alihbase-common
numSigBytes = decode4to3(b4, 0, buffer, 0, options);
position = 0;
代码示例来源:origin: harbby/presto-connectors
b4[b4Posn++] = sbiCrop;
if (b4Posn > 3) {
outBuffPosn += decode4to3(b4, 0, outBuff, outBuffPosn, options);
b4Posn = 0;
内容来源于网络,如有侵权,请联系作者删除!