Debian Codegraph @

src/c-blosc2/blosc/fastcopy.h

raw
1 /*********************************************************************
2 Blosc - Blocked Shuffling and Compression Library
3
4 Copyright (c) 2021 Blosc Development Team <[email protected]>
5 https://blosc.org
6 License: BSD 3-Clause (see LICENSE.txt)
7
8 See LICENSE.txt for details about copyright and rights to use.
9 **********************************************************************/
10
11 #ifndef BLOSC_FASTCOPY_H
12 #define BLOSC_FASTCOPY_H
13
14 /* Same semantics than memcpy() */
15 unsigned char *fastcopy(unsigned char *out, const unsigned char *from, unsigned len);
16
17 /* Same as fastcopy() but without overwriting origin or destination when they overlap */
18 unsigned char* copy_match(unsigned char *out, const unsigned char *from, unsigned len);
19
20 #endif /* BLOSC_FASTCOPY_H */