MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getBase32String

Method getBase32String

src/main/java/core/org/xbill/DNS/Tokenizer.java:694–701  ·  view source on GitHub ↗

Gets the next token from a tokenizer and decodes it as base32. @param b32 The base32 context to decode with. @return The byte array containing the decoded string. @throws TextParseException The input was invalid. @throws IOException An I/O error occurred.

(base32 b32)

Source from the content-addressed store, hash-verified

692 * @throws IOException An I/O error occurred.
693 */
694public byte []
695getBase32String(base32 b32) throws IOException {
696 String next = _getIdentifier("a base32 string");
697 byte [] array = b32.fromString(next);
698 if (array == null)
699 throw exception("invalid base32 encoding");
700 return array;
701}
702
703/**
704 * Creates an exception which includes the current state in the error message

Callers 1

rdataFromStringMethod · 0.80

Calls 3

_getIdentifierMethod · 0.95
exceptionMethod · 0.95
fromStringMethod · 0.45

Tested by

no test coverage detected