| 构造器和说明 |
|---|
Base32Encoder()
Base constructor for RFC 4648, Section 6.
|
Base32Encoder(byte[] encodingTable,
byte padding)
Constructor allowing the setting of an alternative alphabet.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
decode(byte[] data,
int off,
int length,
OutputStream out)
decode the base 32 encoded byte data writing it to the given output stream,
whitespace characters will be ignored.
|
int |
decode(String data,
OutputStream out)
decode the base 32 encoded String data writing it to the given output stream,
whitespace characters will be ignored.
|
int |
encode(byte[] inBuf,
int inOff,
int inLen,
byte[] outBuf,
int outOff) |
int |
encode(byte[] buf,
int off,
int len,
OutputStream out)
encode the input data producing a base 32 output stream.
|
int |
getEncodedLength(int inputLength) |
int |
getMaxDecodedLength(int inputLength) |
protected void |
initialiseDecodingTable() |
public Base32Encoder()
public Base32Encoder(byte[] encodingTable,
byte padding)
encodingTable - a 32 entry encoding table to do the mapping.padding - the padding value to use.protected void initialiseDecodingTable()
public int encode(byte[] inBuf,
int inOff,
int inLen,
byte[] outBuf,
int outOff)
throws IOException
IOExceptionpublic int getEncodedLength(int inputLength)
getEncodedLength 在接口中 Encoderpublic int getMaxDecodedLength(int inputLength)
getMaxDecodedLength 在接口中 Encoderpublic int encode(byte[] buf,
int off,
int len,
OutputStream out)
throws IOException
encode 在接口中 EncoderIOExceptionpublic int decode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
decode 在接口中 EncoderIOExceptionpublic int decode(String data, OutputStream out) throws IOException
decode 在接口中 EncoderIOExceptionCopyright © 2024 fossc. All rights reserved.