public class Base62 extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Base62 |
createInstance()
Creates a
Base62 instance. |
static Base62 |
createInstanceWithGmpCharacterSet()
Creates a
Base62 instance using the GMP-style character set. |
static Base62 |
createInstanceWithInvertedCharacterSet()
Creates a
Base62 instance using the inverted character set. |
byte[] |
decode(byte[] encoded)
Decodes a sequence of Base62-encoded bytes.
|
byte[] |
encode(byte[] message)
Encodes a sequence of bytes in Base62 encoding.
|
static void |
main(String[] args) |
public static Base62 createInstance()
Base62 instance. Defaults to the GMP-style character set.Base62 instance.public static Base62 createInstanceWithGmpCharacterSet()
Base62 instance using the GMP-style character set.Base62 instance.public static Base62 createInstanceWithInvertedCharacterSet()
Base62 instance using the inverted character set.Base62 instance.public byte[] encode(byte[] message)
message - a byte sequence.public byte[] decode(byte[] encoded)
encoded - a sequence of Base62-encoded bytes.public static void main(String[] args)
Copyright © 2022. All rights reserved.