PHP 8.2.30
Preview: umutablecptrie.h Size: 8.28 KB
//opt/alt/libicu/usr/include/unicode/umutablecptrie.h

// © 2017 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html

// umutablecptrie.h (split out of ucptrie.h)
// created: 2018jan24 Markus W. Scherer

#ifndef __UMUTABLECPTRIE_H__
#define __UMUTABLECPTRIE_H__

#include "unicode/utypes.h"

#ifndef U_HIDE_DRAFT_API

#include "unicode/localpointer.h"
#include "unicode/ucpmap.h"
#include "unicode/ucptrie.h"
#include "unicode/utf8.h"

U_CDECL_BEGIN

/**
 * \file
 *
 * This file defines a mutable Unicode code point trie.
 *
 * @see UCPTrie
 * @see UMutableCPTrie
 */

/**
 * Mutable Unicode code point trie.
 * Fast map from Unicode code points (U+0000..U+10FFFF) to 32-bit integer values.
 * For details see http://site.icu-project.org/design/struct/utrie
 *
 * Setting values (especially ranges) and lookup is fast.
 * The mutable trie is only somewhat space-efficient.
 * It builds a compacted, immutable UCPTrie.
 *
 * This trie can be modified while iterating over its contents.
 * For example, it is possible to merge its values with those from another
 * set of ranges (e.g., another mutable or immutable trie):
 * Iterate over those source ranges; for each of them iterate over this trie;
 * add the source value into the value of each trie range.
 *
 * @see UCPTrie
 * @see umutablecptrie_buildImmutable
 * @draft ICU 63
 */
typedef struct UMutableCPTrie UMutableCPTrie;

/**
 * Creates a mutable trie that initially maps each Unicode code point to the same value.
 * It uses 32-bit data values until umutablecptrie_buildImmutable() is called.
 * umutablecptrie_buildImmutable() takes a valueWidth parameter which
 * determines the number of bits in the data value in the resulting UCPTrie.
 * You must umutablecptrie_close() the trie once you are done using it.
 *
 * @param initialValue the initial value that is set for all code points
 * @param errorValue the value for out-of-range code points and ill-formed UTF-8/16
 * @param pErrorCode an in/out ICU UErrorCode
 * @return the trie
 * @draft ICU 63
 */
U_CAPI UMutableCPTrie * U_EXPORT2
umutablecptrie_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode);

/**
 * Clones a mutable trie.
 * You must umutablecptrie_close() the clone once you are done using it.
 *
 * @param other the trie to clone
 * @param pErrorCode an in/out ICU UErrorCode
 * @return the trie clone
 * @draft ICU 63
 */
U_CAPI UMutableCPTrie * U_EXPORT2
umutablecptrie_clone(const UMutableCPTrie *other, UErrorCode *pErrorCode);

/**
 * Closes a mutable trie and releases associated memory.
 *
 * @param trie the trie
 * @draft ICU 63
 */
U_CAPI void U_EXPORT2
umutablecptrie_close(UMutableCPTrie *trie);

#if U_SHOW_CPLUSPLUS_API

U_NAMESPACE_BEGIN

/**
 * \class LocalUMutableCPTriePointer
 * "Smart pointer" class, closes a UMutableCPTrie via umutablecptrie_close().
 * For most methods see the LocalPointerBase base class.
 *
 * @see LocalPointerBase
 * @see LocalPointer
 * @draft ICU 63
 */
U_DEFINE_LOCAL_OPEN_POINTER(LocalUMutableCPTriePointer, UMutableCPTrie, umutablecptrie_close);

U_NAMESPACE_END

#endif

/**
 * Creates a mutable trie with the same contents as the UCPMap.
 * You must umutablecptrie_close() the mutable trie once you are done using it.
 *
 * @param map the source map
 * @param pErrorCode an in/out ICU UErrorCode
 * @return the mutable trie
 * @draft ICU 63
 */
U_CAPI UMutableCPTrie * U_EXPORT2
umutablecptrie_fromUCPMap(const UCPMap *map, UErrorCode *pErrorCode);

/**
 * Creates a mutable trie with the same contents as the immutable one.
 * You must umutablecptrie_close() the mutable trie once you are done using it.
 *
 * @param trie the immutable trie
 * @param pErrorCode an in/out ICU UErrorCode
 * @return the mutable trie
 * @draft ICU 63
 */
U_CAPI UMutableCPTrie * U_EXPORT2
umutablecptrie_fromUCPTrie(const UCPTrie *trie, UErrorCode *pErrorCode);

/**
 * Returns the value for a code point as stored in the trie.
 *
 * @param trie the trie
 * @param c the code point
 * @return the value
 * @draft ICU 63
 */
U_CAPI uint32_t U_EXPORT2
umutablecptrie_get(const UMutableCPTrie *trie, UChar32 c);

/**
 * Returns the last code point such that all those from start to there have the same value.
 * Can be used to efficiently iterate over all same-value ranges in a trie.
 * (This is normally faster than iterating over code points and get()ting each value,
 * but much slower than a data structure that stores ranges directly.)
 *
 * The trie can be modified between calls to this function.
 *
 * If the UCPMapValueFilter function pointer is not NULL, then
 * the value to be delivered is passed through that function, and the return value is the end
 * of the range where all values are modified to the same actual value.
 * The value is unchanged if that function pointer is NULL.
 *
 * See the same-signature ucptrie_getRange() for a code sample.
 *
 * @param trie the trie
 * @param start range start
 * @param option defines whether surrogates are treated normally,
 *               or as having the surrogateValue; usually UCPMAP_RANGE_NORMAL
 * @param surrogateValue value for surrogates; ignored if option==UCPMAP_RANGE_NORMAL
 * @param filter a pointer to a function that may modify the trie data value,
 *     or NULL if the values from the trie are to be used unmodified
 * @param context an opaque pointer that is passed on to the filter function
 * @param pValue if not NULL, receives the value that every code point start..end has;
 *     may have been modified by filter(context, trie value)
 *     if that function pointer is not NULL
 * @return the range end code point, or -1 if start is not a valid code point
 * @draft ICU 63
 */
U_CAPI UChar32 U_EXPORT2
umutablecptrie_getRange(const UMutableCPTrie *trie, UChar32 start,
                        UCPMapRangeOption option, uint32_t surrogateValue,
                        UCPMapValueFilter *filter, const void *context, uint32_t *pValue);

/**
 * Sets a value for a code point.
 *
 * @param trie the trie
 * @param c the code point
 * @param value the value
 * @param pErrorCode an in/out ICU UErrorCode
 * @draft ICU 63
 */
U_CAPI void U_EXPORT2
umutablecptrie_set(UMutableCPTrie *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode);

/**
 * Sets a value for each code point [start..end].
 * Faster and more space-efficient than setting the value for each code point separately.
 *
 * @param trie the trie
 * @param start the first code point to get the value
 * @param end the last code point to get the value (inclusive)
 * @param value the value
 * @param pErrorCode an in/out ICU UErrorCode
 * @draft ICU 63
 */
U_CAPI void U_EXPORT2
umutablecptrie_setRange(UMutableCPTrie *trie,
                        UChar32 start, UChar32 end,
                        uint32_t value, UErrorCode *pErrorCode);

/**
 * Compacts the data and builds an immutable UCPTrie according to the parameters.
 * After this, the mutable trie will be empty.
 *
 * The mutable trie stores 32-bit values until buildImmutable() is called.
 * If values shorter than 32 bits are to be stored in the immutable trie,
 * then the upper bits are discarded.
 * For example, when the mutable trie contains values 0x81, -0x7f, and 0xa581,
 * and the value width is 8 bits, then each of these is stored as 0x81
 * and the immutable trie will return that as an unsigned value.
 * (Some implementations may want to make productive temporary use of the upper bits
 * until buildImmutable() discards them.)
 *
 * Not every possible set of mappings can be built into a UCPTrie,
 * because of limitations resulting from speed and space optimizations.
 * Every Unicode assigned character can be mapped to a unique value.
 * Typical data yields data structures far smaller than the limitations.
 *
 * It is possible to construct extremely unusual mappings that exceed the data structure limits.
 * In such a case this function will fail with a U_INDEX_OUTOFBOUNDS_ERROR.
 *
 * @param trie the trie trie
 * @param type selects the trie type
 * @param valueWidth selects the number of bits in a trie data value; if smaller than 32 bits,
 *                   then the values stored in the trie will be truncated first
 * @param pErrorCode an in/out ICU UErrorCode
 *
 * @see umutablecptrie_fromUCPTrie
 * @draft ICU 63
 */
U_CAPI UCPTrie * U_EXPORT2
umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth,
                              UErrorCode *pErrorCode);

U_CDECL_END

#endif  // U_HIDE_DRAFT_API
#endif

Directory Contents

Dirs: 0 × Files: 186

Name Size Perms Modified Actions
26.42 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.43 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.84 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
27.64 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.54 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
19.26 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.02 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
105.06 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.37 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
25.26 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.16 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
24.00 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
23.85 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
13.70 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
55.59 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.81 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.69 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.24 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.99 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
40.37 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
1.11 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
20.10 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
87.82 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.96 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
37.64 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.78 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
46.56 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
18.46 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
25.08 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.62 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
20.67 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
2.08 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
4.78 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.63 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.24 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
24.36 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
12.44 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.73 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
2.98 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.27 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
31.57 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
1.03 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
11.88 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
12.63 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.42 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
10.54 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
19.69 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.06 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
44.94 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
11.44 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
88.17 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
4.26 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
33.65 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
44.04 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
33.97 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
30.74 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
2.63 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
84.62 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
29.93 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
49.35 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.13 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.08 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.50 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
27.10 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
25.18 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
18.33 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.49 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.33 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
26.42 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
49.79 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
15.47 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
84.30 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.12 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
22.37 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.50 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
18.01 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.26 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.32 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
22.21 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
14.24 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
12.53 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
45.30 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
70.90 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
11.12 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
1015 B lrw-r--r-- 2019-11-07 06:58:02
Edit Download
10.04 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.79 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.46 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
15.27 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
21.29 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
4.21 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
36.40 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
41.20 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.29 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
4.80 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.79 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
65.76 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
42.82 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
16.79 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
35.32 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.07 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
89.56 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
12.65 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
23.97 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
55.54 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
15.18 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.36 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
140.66 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
21.06 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.14 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
13.14 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
11.21 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
83.09 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.14 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.59 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
20.99 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
61.39 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.46 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
12.05 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.58 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
22.29 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
14.67 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
16.15 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
60.81 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
15.53 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
10.03 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
25.94 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.89 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.78 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
4.36 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
10.94 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
12.14 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
2.00 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
33.37 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
22.77 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
10.45 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.83 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
50.75 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
11.26 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
13.19 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
1.33 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
24.23 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.28 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.63 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.98 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.04 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.32 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
64.88 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
170.39 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
20.45 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
24.66 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
53.55 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
25.19 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.21 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
10.85 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.88 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
72.05 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.84 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
17.26 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
131.40 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
5.38 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
36.54 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
26.87 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
38.12 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
40.00 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
9.49 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
18.00 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
66.03 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
8.14 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
38.54 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
1.80 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
72.47 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
3.15 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
58.11 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
7.86 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
29.96 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
22.33 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
763 B lrw-r--r-- 2019-11-07 06:58:02
Edit Download
43.78 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
13.78 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
13.89 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
25.54 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
30.38 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.67 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
6.70 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download
20.17 KB lrw-r--r-- 2019-11-07 06:58:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).