úÎ(Ú&°     © Herbert Valerio Riedel 2017BSD3 hvr@gnu.orgstable Trustworthy BI,A compact representation of Unicode strings.This type relates to  as  relates to G by providing a more compact type. Please consult the documentation of Data.ByteString.Short for more information.Currently, a boxed unshared ˜ has a memory footprint of 6 words (i.e. 48 bytes on 64-bit systems) plus 2 or 4 bytes per code-point (due to the internal UTF-16 representation). Each 0 value which can share its payload with another , requires only 4 words additionally. Unlike ,  use unpinned memory.(In comparison, the footprint of a boxed 9 is only 4 words (i.e. 32 bytes on 64-bit systems) plus 12n3/4 bytes per code-point (due to the internal UTF-8 representation). It can be shown that for realistic data  http://utf8everywhere.org/#asian-UTF-16 has a space overhead of 50% over UTF-8.O(1) Test whether a  is empty.O(n). Count the number of Unicode code-points in a .O(n) Test whether C contains only ASCII code-points (i.e. only U+0000 through U+007F).O(0) Converts to UTF-8 encoded GThis operation has effectively no overhead, as it's currently merely a newtype-cast.O(n) Converts to UTF-8 encoded  Construct a  that encodes  as UTF-8.O(n) Convert to O(n) Convert to This is currently not O(1) because currently @ uses UTF-16 as its internal representation. In the event that M will change its internal representation to UTF-8 this operation will become O(1). O(n) Construct/pack from ‡Note: This function is total because it replaces the (invalid) code-points U+D800 through U+DFFF with the replacement character U+FFFD. O(n) Construct  from This is currently not O(1) because currently @ uses UTF-16 as its internal representation. In the event that M will change its internal representation to UTF-8 this operation will become O(1). O(n) Construct  from UTF-8 encoded &This operation doesn't copy the input  but it cannot be O(1)0 because we need to validate the UTF-8 encoding.Returns # in case of invalid UTF-8 encoding. O(n) Construct  from UTF-8 encoded Returns # in case of invalid UTF-8 encoding. The  encoding matches the one for Behaviour for [U+D800 .. U+DFFF] matches the IsString instance for  !"# $%&'()        !"# $%&'() *      !"#$%#$&'()*+,-./012345%text-short-0.1-Aw0cYjynnit1HLSQCmjjZhData.Text.Short ShortTextnulllengthisAsciitoShortByteString toByteString toBuildertoStringtoText fromStringfromTextfromShortByteStringfromByteString$fBinaryShortText$fIsStringShortText$fReadShortText$fShowShortText $fEqShortText$fOrdShortText$fMonoidShortText$fSemigroupShortText$fHashableShortText$fNFDataShortText#text-1.2.2.2-KC7dWoG09dA1F6jKj5GSqhData.Text.InternalTextbytestring-0.10.8.1Data.ByteString.Short.InternalShortByteStringData.ByteString.Internal ByteString Data.ByteString.Builder.InternalBuilderbaseGHC.BaseStringNothingbinary-0.8.3.0Data.Binary.ClassBinaryc_text_short_is_valid_utf8c_text_short_is_asciic_text_short_lengthtoCSize toByteArray#fromByteString' encodeString decodeString'decodeStringShort'encodeStringShort isValidUtf8