xref: /freebsd/crypto/openssl/doc/internal/man3/ossl_bio_print_hex.pod (revision cb2887746f8b9dd4ad6b1e757cdc053a08b25a2e)
1=pod
2
3=head1 NAME
4
5ossl_bio_print_hex
6- Print a hexdump of a binary input
7
8=head1 SYNOPSIS
9
10 #include <crypto/x509.h>
11
12 int ossl_bio_print_hex(BIO *out, unsigned char *buf, int len);
13
14=head1 DESCRIPTION
15
16This function prints a hexdump-like hexadecimal output to I<out> from a binary
17input I<buf> that is I<len> bytes in length.
18
19=head1 RETURN VALUES
20
21Returns 1 if it succeeds in printing, and 0 if it failed.
22
23=head1 COPYRIGHT
24
25Copyright 2024 The OpenSSL Project Authors. All Rights Reserved.
26
27Licensed under the Apache License 2.0 (the "License").  You may not use
28this file except in compliance with the License.  You can obtain a copy
29in the file LICENSE in the source distribution or at
30L<https://www.openssl.org/source/license.html>.
31
32=cut
33