Top Description Inners Fields Constructors Methods
com.mysql.cj.util

public Class Base64Decoder

extends Object
Class Inheritance

This decoder implements standard Base64 decoding except it allows and silently ignores non-base64 input characters (spaces, line breaks etc) Note: Java 6+ provide standard decoders

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private static byte[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static byte[]
decode(byte[] in, int pos, int length)

private static byte
getNextValidByte(byte[] in, Base64Decoder.IntWrapper pos, int maxPos)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

decoderMapback to summary
private static byte[] decoderMap

Constructor Detail

Base64Decoderback to summary
public Base64Decoder()

Method Detail

decodeback to summary
public static byte[] decode(byte[] in, int pos, int length)
getNextValidByteback to summary
private static byte getNextValidByte(byte[] in, Base64Decoder.IntWrapper pos, int maxPos)
com.mysql.cj.util back to summary

public Class Base64Decoder.IntWrapper

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public int

Constructor Summary

AccessConstructor and Description
public
IntWrapper(int value)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

valueback to summary
public int value

Constructor Detail

IntWrapperback to summary
public IntWrapper(int value)