/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to libssts/BaseN.h

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-19 19:46:23 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210119194623-7dg2a4wdjjd90ojc
Base16[enc,dec] - Can now create byte arrays of fixed size.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
               size_t * out_len);
33
33
 
34
34
/**
 
35
 * Decode a base16 string into a byte array of a fixed size.
 
36
 */
 
37
S_EXPORTED
 
38
sbyte *
 
39
s_base_16_dec_size (const schar * base16_str,
 
40
                    size_t in_len,
 
41
                    size_t out_len);
 
42
 
 
43
/**
35
44
 * Encode a Byte array to a Base16 string.
36
45
 */
37
46
S_EXPORTED
48
57
               size_t in_len,
49
58
               size_t * out_len);
50
59
 
 
60
 
51
61
/**
52
62
 * Encode a Byte array to a Base32 Hex (Extended hex) string.
53
63
 */