38 for binary data. The explicit 16 bit variant is rarely used.</p> <p>The base |
38 for binary data. The explicit 16 bit variant is rarely used.</p> <p>The base |
39 class, <codeph>TDesC</codeph>, contains a data member which holds the length |
39 class, <codeph>TDesC</codeph>, contains a data member which holds the length |
40 of the data. The following drawing shows the layout of a <codeph>TBufC<5></codeph> object |
40 of the data. The following drawing shows the layout of a <codeph>TBufC<5></codeph> object |
41 initialised with the string of five characters representing the English word |
41 initialised with the string of five characters representing the English word |
42 "Hello".</p> <fig id="GUID-12064B13-BA8E-5552-9907-AD4F28329A24"> |
42 "Hello".</p> <fig id="GUID-12064B13-BA8E-5552-9907-AD4F28329A24"> |
43 <image href="GUID-5971E713-9CA1-5D75-AE9F-2EF9CBDE39F4_d0e224367_href.png" placement="inline"/> |
43 <image href="GUID-5971E713-9CA1-5D75-AE9F-2EF9CBDE39F4_d0e220630_href.png" placement="inline"/> |
44 </fig> </section> |
44 </fig> </section> |
45 <section id="GUID-4FE409A2-F70B-4755-8C0F-E86799728550"><title>Modifiable buffer descriptor</title> <p>The data contained |
45 <section id="GUID-4FE409A2-F70B-4755-8C0F-E86799728550"><title>Modifiable buffer descriptor</title> <p>The data contained |
46 in a modifiable buffer descriptor can be both accessed and changed through |
46 in a modifiable buffer descriptor can be both accessed and changed through |
47 this descriptor.</p> <p>The template parameter, as well as determining the |
47 this descriptor.</p> <p>The template parameter, as well as determining the |
48 size of the data area created as part of the descriptor object, also defines |
48 size of the data area created as part of the descriptor object, also defines |
62 class <codeph>TDesC</codeph>, contains a data member that holds the length |
62 class <codeph>TDesC</codeph>, contains a data member that holds the length |
63 of the data. The base class <codeph>TDes</codeph>, contains a data member |
63 of the data. The base class <codeph>TDes</codeph>, contains a data member |
64 that holds the maximum length of the data. The following drawing shows the |
64 that holds the maximum length of the data. The following drawing shows the |
65 layout of a <codeph>TBuf<12></codeph> object initialised with the string |
65 layout of a <codeph>TBuf<12></codeph> object initialised with the string |
66 of five characters representing the English word "Hello".</p> <fig id="GUID-1988349D-C4DF-5CA4-A913-D6E0AF4DB104"> |
66 of five characters representing the English word "Hello".</p> <fig id="GUID-1988349D-C4DF-5CA4-A913-D6E0AF4DB104"> |
67 <image href="GUID-8D5FFAE9-7E8A-5144-B0CC-B56A34D42A3F_d0e224433_href.png" placement="inline"/> |
67 <image href="GUID-8D5FFAE9-7E8A-5144-B0CC-B56A34D42A3F_d0e220696_href.png" placement="inline"/> |
68 </fig> </section> |
68 </fig> </section> |
69 </conbody></concept> |
69 </conbody></concept> |