• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:33 PDT 2013 -->
6<title>SmileConstants (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="SmileConstants (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/SmileConstants.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../org/codehaus/jackson/smile/SmileBufferRecycler.html" title="class in org.codehaus.jackson.smile"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/smile/SmileFactory.html" title="class in org.codehaus.jackson.smile"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/smile/SmileConstants.html" target="_top">Frames</a></li>
44<li><a href="SmileConstants.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
66<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
67<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
72<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
73<li>Method</li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">org.codehaus.jackson.smile</div>
83<h2 title="Class SmileConstants" class="title">Class SmileConstants</h2>
84</div>
85<div class="contentContainer">
86<ul class="inheritance">
87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
88<li>
89<ul class="inheritance">
90<li>org.codehaus.jackson.smile.SmileConstants</li>
91</ul>
92</li>
93</ul>
94<div class="description">
95<ul class="blockList">
96<li class="blockList">
97<hr>
98<br>
99<pre>public final class <span class="strong">SmileConstants</span>
100extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
101<div class="block">Constants used by <a href="../../../../org/codehaus/jackson/smile/SmileGenerator.html" title="class in org.codehaus.jackson.smile"><code>SmileGenerator</code></a> and <a href="../../../../org/codehaus/jackson/smile/SmileParser.html" title="class in org.codehaus.jackson.smile"><code>SmileParser</code></a></div>
102<dl><dt><span class="strong">Author:</span></dt>
103  <dd>tatu</dd></dl>
104</li>
105</ul>
106</div>
107<div class="summary">
108<ul class="blockList">
109<li class="blockList">
110<!-- =========== FIELD SUMMARY =========== -->
111<ul class="blockList">
112<li class="blockList"><a name="field_summary">
113<!--   -->
114</a>
115<h3>Field Summary</h3>
116<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
117<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
118<tr>
119<th class="colFirst" scope="col">Modifier and Type</th>
120<th class="colLast" scope="col">Field and Description</th>
121</tr>
122<tr class="altColor">
123<td class="colFirst"><code>static byte</code></td>
124<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#BYTE_MARKER_END_OF_CONTENT">BYTE_MARKER_END_OF_CONTENT</a></strong></code>
125<div class="block">In addition we can use a marker to allow simple framing; splitting
126 of physical data (like file) into distinct logical sections like
127 JSON documents.</div>
128</td>
129</tr>
130<tr class="rowColor">
131<td class="colFirst"><code>static byte</code></td>
132<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#BYTE_MARKER_END_OF_STRING">BYTE_MARKER_END_OF_STRING</a></strong></code>&nbsp;</td>
133</tr>
134<tr class="altColor">
135<td class="colFirst"><code>static int</code></td>
136<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BIT_HAS_RAW_BINARY">HEADER_BIT_HAS_RAW_BINARY</a></strong></code>
137<div class="block">Indicator bit that indicates whether encoded content may
138 contain raw (unquoted) binary values.</div>
139</td>
140</tr>
141<tr class="rowColor">
142<td class="colFirst"><code>static int</code></td>
143<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BIT_HAS_SHARED_NAMES">HEADER_BIT_HAS_SHARED_NAMES</a></strong></code>
144<div class="block">Indicator bit that indicates whether encoded content may
145 have Shared names (back references to recently encoded field
146 names).</div>
147</td>
148</tr>
149<tr class="altColor">
150<td class="colFirst"><code>static int</code></td>
151<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BIT_HAS_SHARED_STRING_VALUES">HEADER_BIT_HAS_SHARED_STRING_VALUES</a></strong></code>
152<div class="block">Indicator bit that indicates whether encoded content may
153 have shared String values (back references to recently encoded
154 'short' String values, where short is defined as 64 bytes or less).</div>
155</td>
156</tr>
157<tr class="rowColor">
158<td class="colFirst"><code>static byte</code></td>
159<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BYTE_1">HEADER_BYTE_1</a></strong></code>
160<div class="block">First byte of data header</div>
161</td>
162</tr>
163<tr class="altColor">
164<td class="colFirst"><code>static byte</code></td>
165<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BYTE_2">HEADER_BYTE_2</a></strong></code>
166<div class="block">Second byte of data header</div>
167</td>
168</tr>
169<tr class="rowColor">
170<td class="colFirst"><code>static byte</code></td>
171<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BYTE_3">HEADER_BYTE_3</a></strong></code>
172<div class="block">Third byte of data header</div>
173</td>
174</tr>
175<tr class="altColor">
176<td class="colFirst"><code>static byte</code></td>
177<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_BYTE_4">HEADER_BYTE_4</a></strong></code>
178<div class="block">Fourth byte of data header; contains version nibble, may
179 have flags</div>
180</td>
181</tr>
182<tr class="rowColor">
183<td class="colFirst"><code>static int</code></td>
184<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#HEADER_VERSION_0">HEADER_VERSION_0</a></strong></code>
185<div class="block">Current version consists of four zero bits (nibble)</div>
186</td>
187</tr>
188<tr class="altColor">
189<td class="colFirst"><code>static int</code></td>
190<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#INT_MARKER_END_OF_STRING">INT_MARKER_END_OF_STRING</a></strong></code>
191<div class="block">We need a byte marker to denote end of variable-length Strings.</div>
192</td>
193</tr>
194<tr class="rowColor">
195<td class="colFirst"><code>static int</code></td>
196<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MAX_SHARED_NAMES">MAX_SHARED_NAMES</a></strong></code>
197<div class="block">Longest back reference we use for field names is 10 bits; no point
198 in keeping much more around</div>
199</td>
200</tr>
201<tr class="altColor">
202<td class="colFirst"><code>static int</code></td>
203<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MAX_SHARED_STRING_LENGTH_BYTES">MAX_SHARED_STRING_LENGTH_BYTES</a></strong></code>
204<div class="block">Also: whereas we can refer to names of any length, we will only consider
205 text values that are considered "tiny" or "short" (ones encoded with
206 length prefix); this value thereby has to be maximum length of Strings
207 that can be encoded as such.</div>
208</td>
209</tr>
210<tr class="rowColor">
211<td class="colFirst"><code>static int</code></td>
212<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MAX_SHARED_STRING_VALUES">MAX_SHARED_STRING_VALUES</a></strong></code>
213<div class="block">Longest back reference we use for short shared String values is 10 bits,
214 so up to (1 << 10) values to keep track of.</div>
215</td>
216</tr>
217<tr class="altColor">
218<td class="colFirst"><code>static int</code></td>
219<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MAX_SHORT_NAME_ASCII_BYTES">MAX_SHORT_NAME_ASCII_BYTES</a></strong></code>
220<div class="block">Encoding has special "short" forms for field names that can
221 be represented by 64 bytes of UTF-8 or less.</div>
222</td>
223</tr>
224<tr class="rowColor">
225<td class="colFirst"><code>static int</code></td>
226<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MAX_SHORT_NAME_UNICODE_BYTES">MAX_SHORT_NAME_UNICODE_BYTES</a></strong></code>
227<div class="block">Maximum byte length for short non-ASCII names is slightly
228 less due to having to reserve bytes 0xF8 and above (but
229 we get one more as values 0 and 1 are not valid)</div>
230</td>
231</tr>
232<tr class="altColor">
233<td class="colFirst"><code>static int</code></td>
234<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MAX_SHORT_VALUE_STRING_BYTES">MAX_SHORT_VALUE_STRING_BYTES</a></strong></code>
235<div class="block">Encoding has special "short" forms for value Strings that can
236 be represented by 64 bytes of UTF-8 or less.</div>
237</td>
238</tr>
239<tr class="rowColor">
240<td class="colFirst"><code>static int</code></td>
241<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING">MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING</a></strong></code>
242<div class="block">And to make encoding logic tight and simple, we can always
243 require that output buffer has this amount of space
244 available before encoding possibly short String (3 bytes since
245 longest UTF-8 encoded Java char is 3 bytes).</div>
246</td>
247</tr>
248<tr class="altColor">
249<td class="colFirst"><code>static int[]</code></td>
250<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#sUtf8UnitLengths">sUtf8UnitLengths</a></strong></code>
251<div class="block">Additionally we can combine UTF-8 decoding info into similar
252 data table.</div>
253</td>
254</tr>
255<tr class="rowColor">
256<td class="colFirst"><code>static byte</code></td>
257<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_KEY_EMPTY_STRING">TOKEN_KEY_EMPTY_STRING</a></strong></code>
258<div class="block">Let's use same code for empty key as for empty String value</div>
259</td>
260</tr>
261<tr class="altColor">
262<td class="colFirst"><code>static byte</code></td>
263<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_KEY_LONG_STRING">TOKEN_KEY_LONG_STRING</a></strong></code>&nbsp;</td>
264</tr>
265<tr class="rowColor">
266<td class="colFirst"><code>static byte</code></td>
267<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_EMPTY_STRING">TOKEN_LITERAL_EMPTY_STRING</a></strong></code>&nbsp;</td>
268</tr>
269<tr class="altColor">
270<td class="colFirst"><code>static byte</code></td>
271<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_END_ARRAY">TOKEN_LITERAL_END_ARRAY</a></strong></code>&nbsp;</td>
272</tr>
273<tr class="rowColor">
274<td class="colFirst"><code>static byte</code></td>
275<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_END_OBJECT">TOKEN_LITERAL_END_OBJECT</a></strong></code>&nbsp;</td>
276</tr>
277<tr class="altColor">
278<td class="colFirst"><code>static byte</code></td>
279<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_FALSE">TOKEN_LITERAL_FALSE</a></strong></code>&nbsp;</td>
280</tr>
281<tr class="rowColor">
282<td class="colFirst"><code>static byte</code></td>
283<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_NULL">TOKEN_LITERAL_NULL</a></strong></code>&nbsp;</td>
284</tr>
285<tr class="altColor">
286<td class="colFirst"><code>static byte</code></td>
287<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_START_ARRAY">TOKEN_LITERAL_START_ARRAY</a></strong></code>&nbsp;</td>
288</tr>
289<tr class="rowColor">
290<td class="colFirst"><code>static byte</code></td>
291<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_START_OBJECT">TOKEN_LITERAL_START_OBJECT</a></strong></code>&nbsp;</td>
292</tr>
293<tr class="altColor">
294<td class="colFirst"><code>static byte</code></td>
295<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_LITERAL_TRUE">TOKEN_LITERAL_TRUE</a></strong></code>&nbsp;</td>
296</tr>
297<tr class="rowColor">
298<td class="colFirst"><code>static int</code></td>
299<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_BINARY_7BIT">TOKEN_MISC_BINARY_7BIT</a></strong></code>
300<div class="block">Type (for misc, other) used
301 for "safe" (encoded by only using 7 LSB, giving 8/7 expansion ratio).</div>
302</td>
303</tr>
304<tr class="altColor">
305<td class="colFirst"><code>static int</code></td>
306<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_BINARY_RAW">TOKEN_MISC_BINARY_RAW</a></strong></code>
307<div class="block">Raw binary data marker is specifically chosen as separate from
308 other types, since it can have significant impact on framing
309 (or rather fast scanning based on structure and framing markers).</div>
310</td>
311</tr>
312<tr class="rowColor">
313<td class="colFirst"><code>static int</code></td>
314<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FLOAT_32">TOKEN_MISC_FLOAT_32</a></strong></code>
315<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP"><code>TOKEN_MISC_FP</code></a>,
316 indicating 32-bit IEEE single precision floating point number.</div>
317</td>
318</tr>
319<tr class="altColor">
320<td class="colFirst"><code>static int</code></td>
321<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FLOAT_64">TOKEN_MISC_FLOAT_64</a></strong></code>
322<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP"><code>TOKEN_MISC_FP</code></a>,
323 indicating 64-bit IEEE double precision floating point number.</div>
324</td>
325</tr>
326<tr class="rowColor">
327<td class="colFirst"><code>static int</code></td>
328<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FLOAT_BIG">TOKEN_MISC_FLOAT_BIG</a></strong></code>
329<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP"><code>TOKEN_MISC_FP</code></a>,
330 indicating <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> type.</div>
331</td>
332</tr>
333<tr class="altColor">
334<td class="colFirst"><code>static int</code></td>
335<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP">TOKEN_MISC_FP</a></strong></code>
336<div class="block">Type (for misc, other) used
337 for regular floating-point types (float, double)</div>
338</td>
339</tr>
340<tr class="rowColor">
341<td class="colFirst"><code>static int</code></td>
342<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER">TOKEN_MISC_INTEGER</a></strong></code>
343<div class="block">Type (for misc, other) used
344 for regular integral types (byte/short/int/long)</div>
345</td>
346</tr>
347<tr class="altColor">
348<td class="colFirst"><code>static int</code></td>
349<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER_32">TOKEN_MISC_INTEGER_32</a></strong></code>
350<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER"><code>TOKEN_MISC_INTEGER</code></a>,
351 indicating 32-bit integer (int)</div>
352</td>
353</tr>
354<tr class="rowColor">
355<td class="colFirst"><code>static int</code></td>
356<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER_64">TOKEN_MISC_INTEGER_64</a></strong></code>
357<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER"><code>TOKEN_MISC_INTEGER</code></a>,
358 indicating 32-bit integer (long)</div>
359</td>
360</tr>
361<tr class="altColor">
362<td class="colFirst"><code>static int</code></td>
363<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER_BIG">TOKEN_MISC_INTEGER_BIG</a></strong></code>
364<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER"><code>TOKEN_MISC_INTEGER</code></a>,
365 indicating <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> type.</div>
366</td>
367</tr>
368<tr class="rowColor">
369<td class="colFirst"><code>static int</code></td>
370<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_LONG_TEXT_ASCII">TOKEN_MISC_LONG_TEXT_ASCII</a></strong></code>
371<div class="block">Type (for misc, other) used for
372 variable length UTF-8 encoded text, when it is known to only contain ASCII chars.</div>
373</td>
374</tr>
375<tr class="altColor">
376<td class="colFirst"><code>static int</code></td>
377<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_LONG_TEXT_UNICODE">TOKEN_MISC_LONG_TEXT_UNICODE</a></strong></code>
378<div class="block">Type (for misc, other) used
379 for variable length UTF-8 encoded text, when it is NOT known to only contain ASCII chars
380 (which means it MAY have multi-byte characters)
381 Note: 2 LSB are reserved for future use; must be zeroes for now</div>
382</td>
383</tr>
384<tr class="rowColor">
385<td class="colFirst"><code>static int</code></td>
386<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_SHARED_STRING_LONG">TOKEN_MISC_SHARED_STRING_LONG</a></strong></code>
387<div class="block">Type (for misc, other) used for shared String values where index
388 does not fit in "short" reference range (which is 0 - 30).</div>
389</td>
390</tr>
391<tr class="altColor">
392<td class="colFirst"><code>static int</code></td>
393<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_KEY_ASCII">TOKEN_PREFIX_KEY_ASCII</a></strong></code>&nbsp;</td>
394</tr>
395<tr class="rowColor">
396<td class="colFirst"><code>static int</code></td>
397<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_KEY_SHARED_LONG">TOKEN_PREFIX_KEY_SHARED_LONG</a></strong></code>&nbsp;</td>
398</tr>
399<tr class="altColor">
400<td class="colFirst"><code>static int</code></td>
401<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_KEY_SHARED_SHORT">TOKEN_PREFIX_KEY_SHARED_SHORT</a></strong></code>&nbsp;</td>
402</tr>
403<tr class="rowColor">
404<td class="colFirst"><code>static int</code></td>
405<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_KEY_UNICODE">TOKEN_PREFIX_KEY_UNICODE</a></strong></code>&nbsp;</td>
406</tr>
407<tr class="altColor">
408<td class="colFirst"><code>static int</code></td>
409<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_MISC_OTHER">TOKEN_PREFIX_MISC_OTHER</a></strong></code>&nbsp;</td>
410</tr>
411<tr class="rowColor">
412<td class="colFirst"><code>static int</code></td>
413<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_SHARED_STRING_SHORT">TOKEN_PREFIX_SHARED_STRING_SHORT</a></strong></code>&nbsp;</td>
414</tr>
415<tr class="altColor">
416<td class="colFirst"><code>static int</code></td>
417<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_SHORT_UNICODE">TOKEN_PREFIX_SHORT_UNICODE</a></strong></code>&nbsp;</td>
418</tr>
419<tr class="rowColor">
420<td class="colFirst"><code>static int</code></td>
421<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_SMALL_ASCII">TOKEN_PREFIX_SMALL_ASCII</a></strong></code>&nbsp;</td>
422</tr>
423<tr class="altColor">
424<td class="colFirst"><code>static int</code></td>
425<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_SMALL_INT">TOKEN_PREFIX_SMALL_INT</a></strong></code>&nbsp;</td>
426</tr>
427<tr class="rowColor">
428<td class="colFirst"><code>static int</code></td>
429<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_TINY_ASCII">TOKEN_PREFIX_TINY_ASCII</a></strong></code>&nbsp;</td>
430</tr>
431<tr class="altColor">
432<td class="colFirst"><code>static int</code></td>
433<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_PREFIX_TINY_UNICODE">TOKEN_PREFIX_TINY_UNICODE</a></strong></code>&nbsp;</td>
434</tr>
435</table>
436</li>
437</ul>
438<!-- ======== CONSTRUCTOR SUMMARY ======== -->
439<ul class="blockList">
440<li class="blockList"><a name="constructor_summary">
441<!--   -->
442</a>
443<h3>Constructor Summary</h3>
444<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
445<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
446<tr>
447<th class="colOne" scope="col">Constructor and Description</th>
448</tr>
449<tr class="altColor">
450<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#SmileConstants()">SmileConstants</a></strong>()</code>&nbsp;</td>
451</tr>
452</table>
453</li>
454</ul>
455<!-- ========== METHOD SUMMARY =========== -->
456<ul class="blockList">
457<li class="blockList"><a name="method_summary">
458<!--   -->
459</a>
460<h3>Method Summary</h3>
461<ul class="blockList">
462<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
463<!--   -->
464</a>
465<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
466<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
467</ul>
468</li>
469</ul>
470</li>
471</ul>
472</div>
473<div class="details">
474<ul class="blockList">
475<li class="blockList">
476<!-- ============ FIELD DETAIL =========== -->
477<ul class="blockList">
478<li class="blockList"><a name="field_detail">
479<!--   -->
480</a>
481<h3>Field Detail</h3>
482<a name="MAX_SHORT_VALUE_STRING_BYTES">
483<!--   -->
484</a>
485<ul class="blockList">
486<li class="blockList">
487<h4>MAX_SHORT_VALUE_STRING_BYTES</h4>
488<pre>public static final&nbsp;int MAX_SHORT_VALUE_STRING_BYTES</pre>
489<div class="block">Encoding has special "short" forms for value Strings that can
490 be represented by 64 bytes of UTF-8 or less.</div>
491<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MAX_SHORT_VALUE_STRING_BYTES">Constant Field Values</a></dd></dl>
492</li>
493</ul>
494<a name="MAX_SHORT_NAME_ASCII_BYTES">
495<!--   -->
496</a>
497<ul class="blockList">
498<li class="blockList">
499<h4>MAX_SHORT_NAME_ASCII_BYTES</h4>
500<pre>public static final&nbsp;int MAX_SHORT_NAME_ASCII_BYTES</pre>
501<div class="block">Encoding has special "short" forms for field names that can
502 be represented by 64 bytes of UTF-8 or less.</div>
503<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MAX_SHORT_NAME_ASCII_BYTES">Constant Field Values</a></dd></dl>
504</li>
505</ul>
506<a name="MAX_SHORT_NAME_UNICODE_BYTES">
507<!--   -->
508</a>
509<ul class="blockList">
510<li class="blockList">
511<h4>MAX_SHORT_NAME_UNICODE_BYTES</h4>
512<pre>public static final&nbsp;int MAX_SHORT_NAME_UNICODE_BYTES</pre>
513<div class="block">Maximum byte length for short non-ASCII names is slightly
514 less due to having to reserve bytes 0xF8 and above (but
515 we get one more as values 0 and 1 are not valid)</div>
516<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MAX_SHORT_NAME_UNICODE_BYTES">Constant Field Values</a></dd></dl>
517</li>
518</ul>
519<a name="MAX_SHARED_NAMES">
520<!--   -->
521</a>
522<ul class="blockList">
523<li class="blockList">
524<h4>MAX_SHARED_NAMES</h4>
525<pre>public static final&nbsp;int MAX_SHARED_NAMES</pre>
526<div class="block">Longest back reference we use for field names is 10 bits; no point
527 in keeping much more around</div>
528<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MAX_SHARED_NAMES">Constant Field Values</a></dd></dl>
529</li>
530</ul>
531<a name="MAX_SHARED_STRING_VALUES">
532<!--   -->
533</a>
534<ul class="blockList">
535<li class="blockList">
536<h4>MAX_SHARED_STRING_VALUES</h4>
537<pre>public static final&nbsp;int MAX_SHARED_STRING_VALUES</pre>
538<div class="block">Longest back reference we use for short shared String values is 10 bits,
539 so up to (1 << 10) values to keep track of.</div>
540<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MAX_SHARED_STRING_VALUES">Constant Field Values</a></dd></dl>
541</li>
542</ul>
543<a name="MAX_SHARED_STRING_LENGTH_BYTES">
544<!--   -->
545</a>
546<ul class="blockList">
547<li class="blockList">
548<h4>MAX_SHARED_STRING_LENGTH_BYTES</h4>
549<pre>public static final&nbsp;int MAX_SHARED_STRING_LENGTH_BYTES</pre>
550<div class="block">Also: whereas we can refer to names of any length, we will only consider
551 text values that are considered "tiny" or "short" (ones encoded with
552 length prefix); this value thereby has to be maximum length of Strings
553 that can be encoded as such.</div>
554<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MAX_SHARED_STRING_LENGTH_BYTES">Constant Field Values</a></dd></dl>
555</li>
556</ul>
557<a name="MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING">
558<!--   -->
559</a>
560<ul class="blockList">
561<li class="blockList">
562<h4>MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING</h4>
563<pre>public static final&nbsp;int MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING</pre>
564<div class="block">And to make encoding logic tight and simple, we can always
565 require that output buffer has this amount of space
566 available before encoding possibly short String (3 bytes since
567 longest UTF-8 encoded Java char is 3 bytes).
568 Two extra bytes need to be reserved as well; first for token indicator,
569 and second for terminating null byte (in case it's not a short String after all)</div>
570<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING">Constant Field Values</a></dd></dl>
571</li>
572</ul>
573<a name="INT_MARKER_END_OF_STRING">
574<!--   -->
575</a>
576<ul class="blockList">
577<li class="blockList">
578<h4>INT_MARKER_END_OF_STRING</h4>
579<pre>public static final&nbsp;int INT_MARKER_END_OF_STRING</pre>
580<div class="block">We need a byte marker to denote end of variable-length Strings. Although
581 null byte is commonly used, let's try to avoid using it since it can't
582 be embedded in Web Sockets content (similarly, 0xFF can't). There are
583 multiple candidates for bytes UTF-8 can not have; 0xFC is chosen to
584 allow reasonable ordering (highest values meaning most significant
585 framing function; 0xFF being end-of-content and so on)</div>
586<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.INT_MARKER_END_OF_STRING">Constant Field Values</a></dd></dl>
587</li>
588</ul>
589<a name="BYTE_MARKER_END_OF_STRING">
590<!--   -->
591</a>
592<ul class="blockList">
593<li class="blockList">
594<h4>BYTE_MARKER_END_OF_STRING</h4>
595<pre>public static final&nbsp;byte BYTE_MARKER_END_OF_STRING</pre>
596<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.BYTE_MARKER_END_OF_STRING">Constant Field Values</a></dd></dl>
597</li>
598</ul>
599<a name="BYTE_MARKER_END_OF_CONTENT">
600<!--   -->
601</a>
602<ul class="blockList">
603<li class="blockList">
604<h4>BYTE_MARKER_END_OF_CONTENT</h4>
605<pre>public static final&nbsp;byte BYTE_MARKER_END_OF_CONTENT</pre>
606<div class="block">In addition we can use a marker to allow simple framing; splitting
607 of physical data (like file) into distinct logical sections like
608 JSON documents. 0xFF makes sense here since it is also used
609 as end marker for Web Sockets.</div>
610<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.BYTE_MARKER_END_OF_CONTENT">Constant Field Values</a></dd></dl>
611</li>
612</ul>
613<a name="HEADER_BYTE_1">
614<!--   -->
615</a>
616<ul class="blockList">
617<li class="blockList">
618<h4>HEADER_BYTE_1</h4>
619<pre>public static final&nbsp;byte HEADER_BYTE_1</pre>
620<div class="block">First byte of data header</div>
621<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BYTE_1">Constant Field Values</a></dd></dl>
622</li>
623</ul>
624<a name="HEADER_BYTE_2">
625<!--   -->
626</a>
627<ul class="blockList">
628<li class="blockList">
629<h4>HEADER_BYTE_2</h4>
630<pre>public static final&nbsp;byte HEADER_BYTE_2</pre>
631<div class="block">Second byte of data header</div>
632<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BYTE_2">Constant Field Values</a></dd></dl>
633</li>
634</ul>
635<a name="HEADER_BYTE_3">
636<!--   -->
637</a>
638<ul class="blockList">
639<li class="blockList">
640<h4>HEADER_BYTE_3</h4>
641<pre>public static final&nbsp;byte HEADER_BYTE_3</pre>
642<div class="block">Third byte of data header</div>
643<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BYTE_3">Constant Field Values</a></dd></dl>
644</li>
645</ul>
646<a name="HEADER_VERSION_0">
647<!--   -->
648</a>
649<ul class="blockList">
650<li class="blockList">
651<h4>HEADER_VERSION_0</h4>
652<pre>public static final&nbsp;int HEADER_VERSION_0</pre>
653<div class="block">Current version consists of four zero bits (nibble)</div>
654<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_VERSION_0">Constant Field Values</a></dd></dl>
655</li>
656</ul>
657<a name="HEADER_BYTE_4">
658<!--   -->
659</a>
660<ul class="blockList">
661<li class="blockList">
662<h4>HEADER_BYTE_4</h4>
663<pre>public static final&nbsp;byte HEADER_BYTE_4</pre>
664<div class="block">Fourth byte of data header; contains version nibble, may
665 have flags</div>
666<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BYTE_4">Constant Field Values</a></dd></dl>
667</li>
668</ul>
669<a name="HEADER_BIT_HAS_SHARED_NAMES">
670<!--   -->
671</a>
672<ul class="blockList">
673<li class="blockList">
674<h4>HEADER_BIT_HAS_SHARED_NAMES</h4>
675<pre>public static final&nbsp;int HEADER_BIT_HAS_SHARED_NAMES</pre>
676<div class="block">Indicator bit that indicates whether encoded content may
677 have Shared names (back references to recently encoded field
678 names). If no header available, must be
679 processed as if this was set to true.
680 If (and only if) header exists, and value is 0, can parser
681 omit storing of seen names, as it is guaranteed that no back
682 references exist.</div>
683<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BIT_HAS_SHARED_NAMES">Constant Field Values</a></dd></dl>
684</li>
685</ul>
686<a name="HEADER_BIT_HAS_SHARED_STRING_VALUES">
687<!--   -->
688</a>
689<ul class="blockList">
690<li class="blockList">
691<h4>HEADER_BIT_HAS_SHARED_STRING_VALUES</h4>
692<pre>public static final&nbsp;int HEADER_BIT_HAS_SHARED_STRING_VALUES</pre>
693<div class="block">Indicator bit that indicates whether encoded content may
694 have shared String values (back references to recently encoded
695 'short' String values, where short is defined as 64 bytes or less).
696 If no header available, can be assumed to be 0 (false).
697 If header exists, and bit value is 1, parsers has to store up
698 to 1024 most recently seen distinct short String values.</div>
699<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BIT_HAS_SHARED_STRING_VALUES">Constant Field Values</a></dd></dl>
700</li>
701</ul>
702<a name="HEADER_BIT_HAS_RAW_BINARY">
703<!--   -->
704</a>
705<ul class="blockList">
706<li class="blockList">
707<h4>HEADER_BIT_HAS_RAW_BINARY</h4>
708<pre>public static final&nbsp;int HEADER_BIT_HAS_RAW_BINARY</pre>
709<div class="block">Indicator bit that indicates whether encoded content may
710 contain raw (unquoted) binary values.
711 If no header available, can be assumed to be 0 (false).
712 If header exists, and bit value is 1, parser can not assume that
713 specific byte values always have default meaning (specifically,
714 content end marker 0xFF and header signature can be contained
715 in binary values)
716<p>
717 Note that this bit being true does not automatically mean that
718 such raw binary content indeed exists; just that it may exist.
719 This because header is written before any binary data may be
720 written.</div>
721<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.HEADER_BIT_HAS_RAW_BINARY">Constant Field Values</a></dd></dl>
722</li>
723</ul>
724<a name="TOKEN_PREFIX_SHARED_STRING_SHORT">
725<!--   -->
726</a>
727<ul class="blockList">
728<li class="blockList">
729<h4>TOKEN_PREFIX_SHARED_STRING_SHORT</h4>
730<pre>public static final&nbsp;int TOKEN_PREFIX_SHARED_STRING_SHORT</pre>
731<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_SHARED_STRING_SHORT">Constant Field Values</a></dd></dl>
732</li>
733</ul>
734<a name="TOKEN_PREFIX_TINY_ASCII">
735<!--   -->
736</a>
737<ul class="blockList">
738<li class="blockList">
739<h4>TOKEN_PREFIX_TINY_ASCII</h4>
740<pre>public static final&nbsp;int TOKEN_PREFIX_TINY_ASCII</pre>
741<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_TINY_ASCII">Constant Field Values</a></dd></dl>
742</li>
743</ul>
744<a name="TOKEN_PREFIX_SMALL_ASCII">
745<!--   -->
746</a>
747<ul class="blockList">
748<li class="blockList">
749<h4>TOKEN_PREFIX_SMALL_ASCII</h4>
750<pre>public static final&nbsp;int TOKEN_PREFIX_SMALL_ASCII</pre>
751<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_SMALL_ASCII">Constant Field Values</a></dd></dl>
752</li>
753</ul>
754<a name="TOKEN_PREFIX_TINY_UNICODE">
755<!--   -->
756</a>
757<ul class="blockList">
758<li class="blockList">
759<h4>TOKEN_PREFIX_TINY_UNICODE</h4>
760<pre>public static final&nbsp;int TOKEN_PREFIX_TINY_UNICODE</pre>
761<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_TINY_UNICODE">Constant Field Values</a></dd></dl>
762</li>
763</ul>
764<a name="TOKEN_PREFIX_SHORT_UNICODE">
765<!--   -->
766</a>
767<ul class="blockList">
768<li class="blockList">
769<h4>TOKEN_PREFIX_SHORT_UNICODE</h4>
770<pre>public static final&nbsp;int TOKEN_PREFIX_SHORT_UNICODE</pre>
771<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_SHORT_UNICODE">Constant Field Values</a></dd></dl>
772</li>
773</ul>
774<a name="TOKEN_PREFIX_SMALL_INT">
775<!--   -->
776</a>
777<ul class="blockList">
778<li class="blockList">
779<h4>TOKEN_PREFIX_SMALL_INT</h4>
780<pre>public static final&nbsp;int TOKEN_PREFIX_SMALL_INT</pre>
781<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_SMALL_INT">Constant Field Values</a></dd></dl>
782</li>
783</ul>
784<a name="TOKEN_PREFIX_MISC_OTHER">
785<!--   -->
786</a>
787<ul class="blockList">
788<li class="blockList">
789<h4>TOKEN_PREFIX_MISC_OTHER</h4>
790<pre>public static final&nbsp;int TOKEN_PREFIX_MISC_OTHER</pre>
791<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_MISC_OTHER">Constant Field Values</a></dd></dl>
792</li>
793</ul>
794<a name="TOKEN_LITERAL_EMPTY_STRING">
795<!--   -->
796</a>
797<ul class="blockList">
798<li class="blockList">
799<h4>TOKEN_LITERAL_EMPTY_STRING</h4>
800<pre>public static final&nbsp;byte TOKEN_LITERAL_EMPTY_STRING</pre>
801<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_EMPTY_STRING">Constant Field Values</a></dd></dl>
802</li>
803</ul>
804<a name="TOKEN_LITERAL_NULL">
805<!--   -->
806</a>
807<ul class="blockList">
808<li class="blockList">
809<h4>TOKEN_LITERAL_NULL</h4>
810<pre>public static final&nbsp;byte TOKEN_LITERAL_NULL</pre>
811<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_NULL">Constant Field Values</a></dd></dl>
812</li>
813</ul>
814<a name="TOKEN_LITERAL_FALSE">
815<!--   -->
816</a>
817<ul class="blockList">
818<li class="blockList">
819<h4>TOKEN_LITERAL_FALSE</h4>
820<pre>public static final&nbsp;byte TOKEN_LITERAL_FALSE</pre>
821<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_FALSE">Constant Field Values</a></dd></dl>
822</li>
823</ul>
824<a name="TOKEN_LITERAL_TRUE">
825<!--   -->
826</a>
827<ul class="blockList">
828<li class="blockList">
829<h4>TOKEN_LITERAL_TRUE</h4>
830<pre>public static final&nbsp;byte TOKEN_LITERAL_TRUE</pre>
831<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_TRUE">Constant Field Values</a></dd></dl>
832</li>
833</ul>
834<a name="TOKEN_LITERAL_START_ARRAY">
835<!--   -->
836</a>
837<ul class="blockList">
838<li class="blockList">
839<h4>TOKEN_LITERAL_START_ARRAY</h4>
840<pre>public static final&nbsp;byte TOKEN_LITERAL_START_ARRAY</pre>
841<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_START_ARRAY">Constant Field Values</a></dd></dl>
842</li>
843</ul>
844<a name="TOKEN_LITERAL_END_ARRAY">
845<!--   -->
846</a>
847<ul class="blockList">
848<li class="blockList">
849<h4>TOKEN_LITERAL_END_ARRAY</h4>
850<pre>public static final&nbsp;byte TOKEN_LITERAL_END_ARRAY</pre>
851<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_END_ARRAY">Constant Field Values</a></dd></dl>
852</li>
853</ul>
854<a name="TOKEN_LITERAL_START_OBJECT">
855<!--   -->
856</a>
857<ul class="blockList">
858<li class="blockList">
859<h4>TOKEN_LITERAL_START_OBJECT</h4>
860<pre>public static final&nbsp;byte TOKEN_LITERAL_START_OBJECT</pre>
861<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_START_OBJECT">Constant Field Values</a></dd></dl>
862</li>
863</ul>
864<a name="TOKEN_LITERAL_END_OBJECT">
865<!--   -->
866</a>
867<ul class="blockList">
868<li class="blockList">
869<h4>TOKEN_LITERAL_END_OBJECT</h4>
870<pre>public static final&nbsp;byte TOKEN_LITERAL_END_OBJECT</pre>
871<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_LITERAL_END_OBJECT">Constant Field Values</a></dd></dl>
872</li>
873</ul>
874<a name="TOKEN_MISC_INTEGER">
875<!--   -->
876</a>
877<ul class="blockList">
878<li class="blockList">
879<h4>TOKEN_MISC_INTEGER</h4>
880<pre>public static final&nbsp;int TOKEN_MISC_INTEGER</pre>
881<div class="block">Type (for misc, other) used
882 for regular integral types (byte/short/int/long)</div>
883<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_INTEGER">Constant Field Values</a></dd></dl>
884</li>
885</ul>
886<a name="TOKEN_MISC_FP">
887<!--   -->
888</a>
889<ul class="blockList">
890<li class="blockList">
891<h4>TOKEN_MISC_FP</h4>
892<pre>public static final&nbsp;int TOKEN_MISC_FP</pre>
893<div class="block">Type (for misc, other) used
894 for regular floating-point types (float, double)</div>
895<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_FP">Constant Field Values</a></dd></dl>
896</li>
897</ul>
898<a name="TOKEN_MISC_LONG_TEXT_ASCII">
899<!--   -->
900</a>
901<ul class="blockList">
902<li class="blockList">
903<h4>TOKEN_MISC_LONG_TEXT_ASCII</h4>
904<pre>public static final&nbsp;int TOKEN_MISC_LONG_TEXT_ASCII</pre>
905<div class="block">Type (for misc, other) used for
906 variable length UTF-8 encoded text, when it is known to only contain ASCII chars.
907 Note: 2 LSB are reserved for future use; must be zeroes for now</div>
908<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_LONG_TEXT_ASCII">Constant Field Values</a></dd></dl>
909</li>
910</ul>
911<a name="TOKEN_MISC_LONG_TEXT_UNICODE">
912<!--   -->
913</a>
914<ul class="blockList">
915<li class="blockList">
916<h4>TOKEN_MISC_LONG_TEXT_UNICODE</h4>
917<pre>public static final&nbsp;int TOKEN_MISC_LONG_TEXT_UNICODE</pre>
918<div class="block">Type (for misc, other) used
919 for variable length UTF-8 encoded text, when it is NOT known to only contain ASCII chars
920 (which means it MAY have multi-byte characters)
921 Note: 2 LSB are reserved for future use; must be zeroes for now</div>
922<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_LONG_TEXT_UNICODE">Constant Field Values</a></dd></dl>
923</li>
924</ul>
925<a name="TOKEN_MISC_BINARY_7BIT">
926<!--   -->
927</a>
928<ul class="blockList">
929<li class="blockList">
930<h4>TOKEN_MISC_BINARY_7BIT</h4>
931<pre>public static final&nbsp;int TOKEN_MISC_BINARY_7BIT</pre>
932<div class="block">Type (for misc, other) used
933 for "safe" (encoded by only using 7 LSB, giving 8/7 expansion ratio).
934 This is usually done to ensure that certain bytes are never included
935 in encoded data (like 0xFF)
936 Note: 2 LSB are reserved for future use; must be zeroes for now</div>
937<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_BINARY_7BIT">Constant Field Values</a></dd></dl>
938</li>
939</ul>
940<a name="TOKEN_MISC_SHARED_STRING_LONG">
941<!--   -->
942</a>
943<ul class="blockList">
944<li class="blockList">
945<h4>TOKEN_MISC_SHARED_STRING_LONG</h4>
946<pre>public static final&nbsp;int TOKEN_MISC_SHARED_STRING_LONG</pre>
947<div class="block">Type (for misc, other) used for shared String values where index
948 does not fit in "short" reference range (which is 0 - 30). If so,
949 2 LSB from here and full following byte are used to get 10-bit
950 index. Values</div>
951<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_SHARED_STRING_LONG">Constant Field Values</a></dd></dl>
952</li>
953</ul>
954<a name="TOKEN_MISC_BINARY_RAW">
955<!--   -->
956</a>
957<ul class="blockList">
958<li class="blockList">
959<h4>TOKEN_MISC_BINARY_RAW</h4>
960<pre>public static final&nbsp;int TOKEN_MISC_BINARY_RAW</pre>
961<div class="block">Raw binary data marker is specifically chosen as separate from
962 other types, since it can have significant impact on framing
963 (or rather fast scanning based on structure and framing markers).</div>
964<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_BINARY_RAW">Constant Field Values</a></dd></dl>
965</li>
966</ul>
967<a name="TOKEN_MISC_INTEGER_32">
968<!--   -->
969</a>
970<ul class="blockList">
971<li class="blockList">
972<h4>TOKEN_MISC_INTEGER_32</h4>
973<pre>public static final&nbsp;int TOKEN_MISC_INTEGER_32</pre>
974<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER"><code>TOKEN_MISC_INTEGER</code></a>,
975 indicating 32-bit integer (int)</div>
976<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_INTEGER_32">Constant Field Values</a></dd></dl>
977</li>
978</ul>
979<a name="TOKEN_MISC_INTEGER_64">
980<!--   -->
981</a>
982<ul class="blockList">
983<li class="blockList">
984<h4>TOKEN_MISC_INTEGER_64</h4>
985<pre>public static final&nbsp;int TOKEN_MISC_INTEGER_64</pre>
986<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER"><code>TOKEN_MISC_INTEGER</code></a>,
987 indicating 32-bit integer (long)</div>
988<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_INTEGER_64">Constant Field Values</a></dd></dl>
989</li>
990</ul>
991<a name="TOKEN_MISC_INTEGER_BIG">
992<!--   -->
993</a>
994<ul class="blockList">
995<li class="blockList">
996<h4>TOKEN_MISC_INTEGER_BIG</h4>
997<pre>public static final&nbsp;int TOKEN_MISC_INTEGER_BIG</pre>
998<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_INTEGER"><code>TOKEN_MISC_INTEGER</code></a>,
999 indicating <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> type.</div>
1000<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_INTEGER_BIG">Constant Field Values</a></dd></dl>
1001</li>
1002</ul>
1003<a name="TOKEN_MISC_FLOAT_32">
1004<!--   -->
1005</a>
1006<ul class="blockList">
1007<li class="blockList">
1008<h4>TOKEN_MISC_FLOAT_32</h4>
1009<pre>public static final&nbsp;int TOKEN_MISC_FLOAT_32</pre>
1010<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP"><code>TOKEN_MISC_FP</code></a>,
1011 indicating 32-bit IEEE single precision floating point number.</div>
1012<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_FLOAT_32">Constant Field Values</a></dd></dl>
1013</li>
1014</ul>
1015<a name="TOKEN_MISC_FLOAT_64">
1016<!--   -->
1017</a>
1018<ul class="blockList">
1019<li class="blockList">
1020<h4>TOKEN_MISC_FLOAT_64</h4>
1021<pre>public static final&nbsp;int TOKEN_MISC_FLOAT_64</pre>
1022<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP"><code>TOKEN_MISC_FP</code></a>,
1023 indicating 64-bit IEEE double precision floating point number.</div>
1024<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_FLOAT_64">Constant Field Values</a></dd></dl>
1025</li>
1026</ul>
1027<a name="TOKEN_MISC_FLOAT_BIG">
1028<!--   -->
1029</a>
1030<ul class="blockList">
1031<li class="blockList">
1032<h4>TOKEN_MISC_FLOAT_BIG</h4>
1033<pre>public static final&nbsp;int TOKEN_MISC_FLOAT_BIG</pre>
1034<div class="block">Numeric subtype (2 LSB) for <a href="../../../../org/codehaus/jackson/smile/SmileConstants.html#TOKEN_MISC_FP"><code>TOKEN_MISC_FP</code></a>,
1035 indicating <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> type.</div>
1036<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_MISC_FLOAT_BIG">Constant Field Values</a></dd></dl>
1037</li>
1038</ul>
1039<a name="TOKEN_KEY_EMPTY_STRING">
1040<!--   -->
1041</a>
1042<ul class="blockList">
1043<li class="blockList">
1044<h4>TOKEN_KEY_EMPTY_STRING</h4>
1045<pre>public static final&nbsp;byte TOKEN_KEY_EMPTY_STRING</pre>
1046<div class="block">Let's use same code for empty key as for empty String value</div>
1047<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_KEY_EMPTY_STRING">Constant Field Values</a></dd></dl>
1048</li>
1049</ul>
1050<a name="TOKEN_PREFIX_KEY_SHARED_LONG">
1051<!--   -->
1052</a>
1053<ul class="blockList">
1054<li class="blockList">
1055<h4>TOKEN_PREFIX_KEY_SHARED_LONG</h4>
1056<pre>public static final&nbsp;int TOKEN_PREFIX_KEY_SHARED_LONG</pre>
1057<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_KEY_SHARED_LONG">Constant Field Values</a></dd></dl>
1058</li>
1059</ul>
1060<a name="TOKEN_KEY_LONG_STRING">
1061<!--   -->
1062</a>
1063<ul class="blockList">
1064<li class="blockList">
1065<h4>TOKEN_KEY_LONG_STRING</h4>
1066<pre>public static final&nbsp;byte TOKEN_KEY_LONG_STRING</pre>
1067<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_KEY_LONG_STRING">Constant Field Values</a></dd></dl>
1068</li>
1069</ul>
1070<a name="TOKEN_PREFIX_KEY_SHARED_SHORT">
1071<!--   -->
1072</a>
1073<ul class="blockList">
1074<li class="blockList">
1075<h4>TOKEN_PREFIX_KEY_SHARED_SHORT</h4>
1076<pre>public static final&nbsp;int TOKEN_PREFIX_KEY_SHARED_SHORT</pre>
1077<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_KEY_SHARED_SHORT">Constant Field Values</a></dd></dl>
1078</li>
1079</ul>
1080<a name="TOKEN_PREFIX_KEY_ASCII">
1081<!--   -->
1082</a>
1083<ul class="blockList">
1084<li class="blockList">
1085<h4>TOKEN_PREFIX_KEY_ASCII</h4>
1086<pre>public static final&nbsp;int TOKEN_PREFIX_KEY_ASCII</pre>
1087<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_KEY_ASCII">Constant Field Values</a></dd></dl>
1088</li>
1089</ul>
1090<a name="TOKEN_PREFIX_KEY_UNICODE">
1091<!--   -->
1092</a>
1093<ul class="blockList">
1094<li class="blockList">
1095<h4>TOKEN_PREFIX_KEY_UNICODE</h4>
1096<pre>public static final&nbsp;int TOKEN_PREFIX_KEY_UNICODE</pre>
1097<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.smile.SmileConstants.TOKEN_PREFIX_KEY_UNICODE">Constant Field Values</a></dd></dl>
1098</li>
1099</ul>
1100<a name="sUtf8UnitLengths">
1101<!--   -->
1102</a>
1103<ul class="blockListLast">
1104<li class="blockList">
1105<h4>sUtf8UnitLengths</h4>
1106<pre>public static final&nbsp;int[] sUtf8UnitLengths</pre>
1107<div class="block">Additionally we can combine UTF-8 decoding info into similar
1108 data table.
1109 Values indicate "byte length - 1"; meaning -1 is used for
1110 invalid bytes, 0 for single-byte codes, 1 for 2-byte codes
1111 and 2 for 3-byte codes.</div>
1112</li>
1113</ul>
1114</li>
1115</ul>
1116<!-- ========= CONSTRUCTOR DETAIL ======== -->
1117<ul class="blockList">
1118<li class="blockList"><a name="constructor_detail">
1119<!--   -->
1120</a>
1121<h3>Constructor Detail</h3>
1122<a name="SmileConstants()">
1123<!--   -->
1124</a>
1125<ul class="blockListLast">
1126<li class="blockList">
1127<h4>SmileConstants</h4>
1128<pre>public&nbsp;SmileConstants()</pre>
1129</li>
1130</ul>
1131</li>
1132</ul>
1133</li>
1134</ul>
1135</div>
1136</div>
1137<!-- ========= END OF CLASS DATA ========= -->
1138<!-- ======= START OF BOTTOM NAVBAR ====== -->
1139<div class="bottomNav"><a name="navbar_bottom">
1140<!--   -->
1141</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
1142<!--   -->
1143</a>
1144<ul class="navList" title="Navigation">
1145<li><a href="../../../../overview-summary.html">Overview</a></li>
1146<li><a href="package-summary.html">Package</a></li>
1147<li class="navBarCell1Rev">Class</li>
1148<li><a href="class-use/SmileConstants.html">Use</a></li>
1149<li><a href="package-tree.html">Tree</a></li>
1150<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
1151<li><a href="../../../../index-all.html">Index</a></li>
1152<li><a href="../../../../help-doc.html">Help</a></li>
1153</ul>
1154</div>
1155<div class="subNav">
1156<ul class="navList">
1157<li><a href="../../../../org/codehaus/jackson/smile/SmileBufferRecycler.html" title="class in org.codehaus.jackson.smile"><span class="strong">Prev Class</span></a></li>
1158<li><a href="../../../../org/codehaus/jackson/smile/SmileFactory.html" title="class in org.codehaus.jackson.smile"><span class="strong">Next Class</span></a></li>
1159</ul>
1160<ul class="navList">
1161<li><a href="../../../../index.html?org/codehaus/jackson/smile/SmileConstants.html" target="_top">Frames</a></li>
1162<li><a href="SmileConstants.html" target="_top">No Frames</a></li>
1163</ul>
1164<ul class="navList" id="allclasses_navbar_bottom">
1165<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
1166</ul>
1167<div>
1168<script type="text/javascript"><!--
1169  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1170  if(window==top) {
1171    allClassesLink.style.display = "block";
1172  }
1173  else {
1174    allClassesLink.style.display = "none";
1175  }
1176  //-->
1177</script>
1178</div>
1179<div>
1180<ul class="subNavList">
1181<li>Summary:&nbsp;</li>
1182<li>Nested&nbsp;|&nbsp;</li>
1183<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
1184<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
1185<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li>
1186</ul>
1187<ul class="subNavList">
1188<li>Detail:&nbsp;</li>
1189<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
1190<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
1191<li>Method</li>
1192</ul>
1193</div>
1194<a name="skip-navbar_bottom">
1195<!--   -->
1196</a></div>
1197<!-- ======== END OF BOTTOM NAVBAR ======= -->
1198</body>
1199</html>
1200