4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include <wireshark.h>
17 #endif /* __cplusplus */
19 /** Returned by base32_decode() if the input is not valid base32. */
20 #define Base32_BAD_INPUT -1
21 /** Returned by base32_decode() if the output buffer is too small. */
22 #define Base32_TOO_BIG -2
24 /* Encoding of a base32 byte array */
26 int ws_base32_decode(uint8_t* output
, const uint32_t outputLength
,
27 const uint8_t* in
, const uint32_t inputLength
);
31 #endif /* __cplusplus */
33 #endif /* __BASE32_H__ */
36 * Editor modelines - https://www.wireshark.org/tools/modelines.html
41 * indent-tabs-mode: nil
44 * vi: set shiftwidth=4 tabstop=8 expandtab:
45 * :indentSize=4:tabSize=8:noTabs=true: