Debian Codegraph @

docs/java/com/sleepycat/bind/tuple/TupleInput.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:05 EDT 2013 -->
6 <TITLE>
7 TupleInput (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="TupleInput (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleInput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleInputBinding.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../index.html?com/sleepycat/bind/tuple/TupleInput.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="TupleInput.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.sleepycat.util.FastInputStream">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.bind.tuple</FONT>
92 <BR>
93 Class TupleInput</H2>
94 <PRE>
95 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</A>
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sleepycat/util/FastInputStream.html" title="class in com.sleepycat.util">com.sleepycat.util.FastInputStream</A>
98 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bind.tuple.TupleInput</B>
99 </PRE>
100 <DL>
101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></DD>
102 </DL>
103 <HR>
104 <DL>
105 <DT><PRE>public class <B>TupleInput</B><DT>extends <A HREF="../../../../com/sleepycat/util/FastInputStream.html" title="class in com.sleepycat.util">FastInputStream</A></DL>
106 </PRE>
107
108 <P>
109 An <code>InputStream</code> with <code>DataInput</code>-like methods for
110 reading tuple fields. It is used by <code>TupleBinding</code>.
111
112 <p>This class has many methods that have the same signatures as methods in
113 the <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io"><CODE>DataInput</CODE></A> interface. The reason this class does not
114 implement <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io"><CODE>DataInput</CODE></A> is because it would break the interface
115 contract for those methods because of data format differences.</p>
116 <P>
117
118 <P>
119 <DL>
120 <DT><B>See Also:</B><DD><a href="package-summary.html#formats">Tuple Formats</a></DL>
121 <HR>
122
123 <P>
124 <!-- =========== FIELD SUMMARY =========== -->
125
126 <A NAME="field_summary"><!-- --></A>
127 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130 <B>Field Summary</B></FONT></TH>
131 </TR>
132 </TABLE>
133 &nbsp;<A NAME="fields_inherited_from_class_com.sleepycat.util.FastInputStream"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
136 <TH ALIGN="left"><B>Fields inherited from class com.sleepycat.util.<A HREF="../../../../com/sleepycat/util/FastInputStream.html" title="class in com.sleepycat.util">FastInputStream</A></B></TH>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD><CODE><A HREF="../../../../com/sleepycat/util/FastInputStream.html#buf">buf</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#len">len</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#mark">mark</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#off">off</A></CODE></TD>
140 </TR>
141 </TABLE>
142 &nbsp;
143 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
144
145 <A NAME="constructor_summary"><!-- --></A>
146 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
148 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
149 <B>Constructor Summary</B></FONT></TH>
150 </TR>
151 <TR BGCOLOR="white" CLASS="TableRowColor">
152 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#TupleInput(byte[])">TupleInput</A></B>(byte[]&nbsp;buffer)</CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a tuple input object for reading a byte array of tuple data.</TD>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#TupleInput(byte[], int, int)">TupleInput</A></B>(byte[]&nbsp;buffer,
159 int&nbsp;offset,
160 int&nbsp;length)</CODE>
161
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a tuple input object for reading a byte array of tuple data at
164 a given offset for a given length.</TD>
165 </TR>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#TupleInput(com.sleepycat.bind.tuple.TupleOutput)">TupleInput</A></B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A>&nbsp;output)</CODE>
168
169 <BR>
170 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a tuple input object from the data contained in a tuple output
171 object.</TD>
172 </TR>
173 </TABLE>
174 &nbsp;
175 <!-- ========== METHOD SUMMARY =========== -->
176
177 <A NAME="method_summary"><!-- --></A>
178 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
181 <B>Method Summary</B></FONT></TH>
182 </TR>
183 <TR BGCOLOR="white" CLASS="TableRowColor">
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185 <CODE>&nbsp;int</CODE></FONT></TD>
186 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getBigDecimalByteLength()">getBigDecimalByteLength</A></B>()</CODE>
187
188 <BR>
189 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of an unsorted <code>BigDecimal</code>.</TD>
190 </TR>
191 <TR BGCOLOR="white" CLASS="TableRowColor">
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193 <CODE>&nbsp;int</CODE></FONT></TD>
194 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getBigIntegerByteLength()">getBigIntegerByteLength</A></B>()</CODE>
195
196 <BR>
197 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a <code>BigInteger</code>.</TD>
198 </TR>
199 <TR BGCOLOR="white" CLASS="TableRowColor">
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201 <CODE>&nbsp;int</CODE></FONT></TD>
202 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getPackedIntByteLength()">getPackedIntByteLength</A></B>()</CODE>
203
204 <BR>
205 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a packed integer.</TD>
206 </TR>
207 <TR BGCOLOR="white" CLASS="TableRowColor">
208 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209 <CODE>&nbsp;int</CODE></FONT></TD>
210 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getPackedLongByteLength()">getPackedLongByteLength</A></B>()</CODE>
211
212 <BR>
213 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a packed long integer.</TD>
214 </TR>
215 <TR BGCOLOR="white" CLASS="TableRowColor">
216 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217 <CODE>&nbsp;int</CODE></FONT></TD>
218 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getSortedBigDecimalByteLength()">getSortedBigDecimalByteLength</A></B>()</CODE>
219
220 <BR>
221 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a sorted <code>BigDecimal</code>.</TD>
222 </TR>
223 <TR BGCOLOR="white" CLASS="TableRowColor">
224 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225 <CODE>&nbsp;int</CODE></FONT></TD>
226 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getSortedPackedIntByteLength()">getSortedPackedIntByteLength</A></B>()</CODE>
227
228 <BR>
229 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a sorted packed integer.</TD>
230 </TR>
231 <TR BGCOLOR="white" CLASS="TableRowColor">
232 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233 <CODE>&nbsp;int</CODE></FONT></TD>
234 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getSortedPackedLongByteLength()">getSortedPackedLongByteLength</A></B>()</CODE>
235
236 <BR>
237 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a sorted packed long integer.</TD>
238 </TR>
239 <TR BGCOLOR="white" CLASS="TableRowColor">
240 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241 <CODE>&nbsp;int</CODE></FONT></TD>
242 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#getStringByteLength()">getStringByteLength</A></B>()</CODE>
243
244 <BR>
245 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte length of a null-terminated UTF string in the data
246 buffer, including the terminator.</TD>
247 </TR>
248 <TR BGCOLOR="white" CLASS="TableRowColor">
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
251 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBigDecimal()">readBigDecimal</A></B>()</CODE>
252
253 <BR>
254 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsorted <code>BigDecimal</code>.</TD>
255 </TR>
256 <TR BGCOLOR="white" CLASS="TableRowColor">
257 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
258 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
259 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBigInteger()">readBigInteger</A></B>()</CODE>
260
261 <BR>
262 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a <code>BigInteger</code>.</TD>
263 </TR>
264 <TR BGCOLOR="white" CLASS="TableRowColor">
265 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266 <CODE>&nbsp;boolean</CODE></FONT></TD>
267 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBoolean()">readBoolean</A></B>()</CODE>
268
269 <BR>
270 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a boolean (one byte) unsigned value from the buffer and returns
271 true if it is non-zero and false if it is zero.</TD>
272 </TR>
273 <TR BGCOLOR="white" CLASS="TableRowColor">
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
275 <CODE>&nbsp;byte</CODE></FONT></TD>
276 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readByte()">readByte</A></B>()</CODE>
277
278 <BR>
279 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a signed byte (one byte) value from the buffer.</TD>
280 </TR>
281 <TR BGCOLOR="white" CLASS="TableRowColor">
282 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283 <CODE>&nbsp;void</CODE></FONT></TD>
284 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBytes(char[])">readBytes</A></B>(char[]&nbsp;chars)</CODE>
285
286 <BR>
287 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the specified number of bytes from the buffer, converting each
288 unsigned byte value to a character of the resulting array.</TD>
289 </TR>
290 <TR BGCOLOR="white" CLASS="TableRowColor">
291 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
293 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBytes(int)">readBytes</A></B>(int&nbsp;length)</CODE>
294
295 <BR>
296 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the specified number of bytes from the buffer, converting each
297 unsigned byte value to a character of the resulting string.</TD>
298 </TR>
299 <TR BGCOLOR="white" CLASS="TableRowColor">
300 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301 <CODE>&nbsp;char</CODE></FONT></TD>
302 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readChar()">readChar</A></B>()</CODE>
303
304 <BR>
305 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a char (two byte) unsigned value from the buffer.</TD>
306 </TR>
307 <TR BGCOLOR="white" CLASS="TableRowColor">
308 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309 <CODE>&nbsp;void</CODE></FONT></TD>
310 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readChars(char[])">readChars</A></B>(char[]&nbsp;chars)</CODE>
311
312 <BR>
313 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the specified number of characters from the buffer, converting
314 each two byte unsigned value to a character of the resulting array.</TD>
315 </TR>
316 <TR BGCOLOR="white" CLASS="TableRowColor">
317 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
319 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readChars(int)">readChars</A></B>(int&nbsp;length)</CODE>
320
321 <BR>
322 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the specified number of characters from the buffer, converting
323 each two byte unsigned value to a character of the resulting string.</TD>
324 </TR>
325 <TR BGCOLOR="white" CLASS="TableRowColor">
326 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327 <CODE>&nbsp;double</CODE></FONT></TD>
328 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readDouble()">readDouble</A></B>()</CODE>
329
330 <BR>
331 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsorted double (eight byte) value from the buffer.</TD>
332 </TR>
333 <TR BGCOLOR="white" CLASS="TableRowColor">
334 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335 <CODE>&nbsp;float</CODE></FONT></TD>
336 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readFloat()">readFloat</A></B>()</CODE>
337
338 <BR>
339 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsorted float (four byte) value from the buffer.</TD>
340 </TR>
341 <TR BGCOLOR="white" CLASS="TableRowColor">
342 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
343 <CODE>&nbsp;int</CODE></FONT></TD>
344 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readInt()">readInt</A></B>()</CODE>
345
346 <BR>
347 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a signed int (four byte) value from the buffer.</TD>
348 </TR>
349 <TR BGCOLOR="white" CLASS="TableRowColor">
350 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
351 <CODE>&nbsp;long</CODE></FONT></TD>
352 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readLong()">readLong</A></B>()</CODE>
353
354 <BR>
355 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a signed long (eight byte) value from the buffer.</TD>
356 </TR>
357 <TR BGCOLOR="white" CLASS="TableRowColor">
358 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359 <CODE>&nbsp;int</CODE></FONT></TD>
360 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readPackedInt()">readPackedInt</A></B>()</CODE>
361
362 <BR>
363 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsorted packed integer.</TD>
364 </TR>
365 <TR BGCOLOR="white" CLASS="TableRowColor">
366 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
367 <CODE>&nbsp;long</CODE></FONT></TD>
368 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readPackedLong()">readPackedLong</A></B>()</CODE>
369
370 <BR>
371 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsorted packed long integer.</TD>
372 </TR>
373 <TR BGCOLOR="white" CLASS="TableRowColor">
374 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
375 <CODE>&nbsp;short</CODE></FONT></TD>
376 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readShort()">readShort</A></B>()</CODE>
377
378 <BR>
379 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a signed short (two byte) value from the buffer.</TD>
380 </TR>
381 <TR BGCOLOR="white" CLASS="TableRowColor">
382 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
383 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
384 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedBigDecimal()">readSortedBigDecimal</A></B>()</CODE>
385
386 <BR>
387 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a sorted <code>BigDecimal</code>, with support for correct default
388 sorting.</TD>
389 </TR>
390 <TR BGCOLOR="white" CLASS="TableRowColor">
391 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
392 <CODE>&nbsp;double</CODE></FONT></TD>
393 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedDouble()">readSortedDouble</A></B>()</CODE>
394
395 <BR>
396 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a sorted double (eight byte) value from the buffer.</TD>
397 </TR>
398 <TR BGCOLOR="white" CLASS="TableRowColor">
399 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
400 <CODE>&nbsp;float</CODE></FONT></TD>
401 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedFloat()">readSortedFloat</A></B>()</CODE>
402
403 <BR>
404 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a sorted float (four byte) value from the buffer.</TD>
405 </TR>
406 <TR BGCOLOR="white" CLASS="TableRowColor">
407 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
408 <CODE>&nbsp;int</CODE></FONT></TD>
409 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedPackedInt()">readSortedPackedInt</A></B>()</CODE>
410
411 <BR>
412 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a sorted packed integer.</TD>
413 </TR>
414 <TR BGCOLOR="white" CLASS="TableRowColor">
415 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
416 <CODE>&nbsp;long</CODE></FONT></TD>
417 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedPackedLong()">readSortedPackedLong</A></B>()</CODE>
418
419 <BR>
420 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a sorted packed long integer.</TD>
421 </TR>
422 <TR BGCOLOR="white" CLASS="TableRowColor">
423 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
424 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
425 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readString()">readString</A></B>()</CODE>
426
427 <BR>
428 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a null-terminated UTF string from the data buffer and converts
429 the data from UTF to Unicode.</TD>
430 </TR>
431 <TR BGCOLOR="white" CLASS="TableRowColor">
432 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
433 <CODE>&nbsp;void</CODE></FONT></TD>
434 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readString(char[])">readString</A></B>(char[]&nbsp;chars)</CODE>
435
436 <BR>
437 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the specified number of UTF characters string from the data
438 buffer and converts the data from UTF to Unicode.</TD>
439 </TR>
440 <TR BGCOLOR="white" CLASS="TableRowColor">
441 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
442 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
443 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readString(int)">readString</A></B>(int&nbsp;length)</CODE>
444
445 <BR>
446 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the specified number of UTF characters string from the data
447 buffer and converts the data from UTF to Unicode.</TD>
448 </TR>
449 <TR BGCOLOR="white" CLASS="TableRowColor">
450 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
451 <CODE>&nbsp;int</CODE></FONT></TD>
452 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readUnsignedByte()">readUnsignedByte</A></B>()</CODE>
453
454 <BR>
455 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsigned byte (one byte) value from the buffer.</TD>
456 </TR>
457 <TR BGCOLOR="white" CLASS="TableRowColor">
458 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
459 <CODE>&nbsp;long</CODE></FONT></TD>
460 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readUnsignedInt()">readUnsignedInt</A></B>()</CODE>
461
462 <BR>
463 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsigned int (four byte) value from the buffer.</TD>
464 </TR>
465 <TR BGCOLOR="white" CLASS="TableRowColor">
466 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
467 <CODE>&nbsp;int</CODE></FONT></TD>
468 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readUnsignedShort()">readUnsignedShort</A></B>()</CODE>
469
470 <BR>
471 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an unsigned short (two byte) value from the buffer.</TD>
472 </TR>
473 </TABLE>
474 &nbsp;<A NAME="methods_inherited_from_class_com.sleepycat.util.FastInputStream"><!-- --></A>
475 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
476 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
477 <TH ALIGN="left"><B>Methods inherited from class com.sleepycat.util.<A HREF="../../../../com/sleepycat/util/FastInputStream.html" title="class in com.sleepycat.util">FastInputStream</A></B></TH>
478 </TR>
479 <TR BGCOLOR="white" CLASS="TableRowColor">
480 <TD><CODE><A HREF="../../../../com/sleepycat/util/FastInputStream.html#available()">available</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#getBufferBytes()">getBufferBytes</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#getBufferLength()">getBufferLength</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#getBufferOffset()">getBufferOffset</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#mark(int)">mark</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#markSupported()">markSupported</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#read()">read</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#read(byte[])">read</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#read(byte[], int, int)">read</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#readFast()">readFast</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#readFast(byte[])">readFast</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#readFast(byte[], int, int)">readFast</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#reset()">reset</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#skip(long)">skip</A>, <A HREF="../../../../com/sleepycat/util/FastInputStream.html#skipFast(int)">skipFast</A></CODE></TD>
481 </TR>
482 </TABLE>
483 &nbsp;<A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A>
484 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
485 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
486 <TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></B></TH>
487 </TR>
488 <TR BGCOLOR="white" CLASS="TableRowColor">
489 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true#close()" title="class or interface in java.io">close</A></CODE></TD>
490 </TR>
491 </TABLE>
492 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
493 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
494 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
495 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
496 </TR>
497 <TR BGCOLOR="white" CLASS="TableRowColor">
498 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
499 </TR>
500 </TABLE>
501 &nbsp;
502 <P>
503
504 <!-- ========= CONSTRUCTOR DETAIL ======== -->
505
506 <A NAME="constructor_detail"><!-- --></A>
507 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
508 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
509 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
510 <B>Constructor Detail</B></FONT></TH>
511 </TR>
512 </TABLE>
513
514 <A NAME="TupleInput(byte[])"><!-- --></A><H3>
515 TupleInput</H3>
516 <PRE>
517 public <B>TupleInput</B>(byte[]&nbsp;buffer)</PRE>
518 <DL>
519 <DD>Creates a tuple input object for reading a byte array of tuple data. A
520 reference to the byte array will be kept by this object (it will not be
521 copied) and therefore the byte array should not be modified while this
522 object is in use.
523 <P>
524 <DL>
525 <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - is the byte array to be read and should contain data in
526 tuple format.</DL>
527 </DL>
528 <HR>
529
530 <A NAME="TupleInput(byte[], int, int)"><!-- --></A><H3>
531 TupleInput</H3>
532 <PRE>
533 public <B>TupleInput</B>(byte[]&nbsp;buffer,
534 int&nbsp;offset,
535 int&nbsp;length)</PRE>
536 <DL>
537 <DD>Creates a tuple input object for reading a byte array of tuple data at
538 a given offset for a given length. A reference to the byte array will
539 be kept by this object (it will not be copied) and therefore the byte
540 array should not be modified while this object is in use.
541 <P>
542 <DL>
543 <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - is the byte array to be read and should contain data in
544 tuple format.<DD><CODE>offset</CODE> - is the byte offset at which to begin reading.<DD><CODE>length</CODE> - is the number of bytes to be read.</DL>
545 </DL>
546 <HR>
547
548 <A NAME="TupleInput(com.sleepycat.bind.tuple.TupleOutput)"><!-- --></A><H3>
549 TupleInput</H3>
550 <PRE>
551 public <B>TupleInput</B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A>&nbsp;output)</PRE>
552 <DL>
553 <DD>Creates a tuple input object from the data contained in a tuple output
554 object. A reference to the tuple output's byte array will be kept by
555 this object (it will not be copied) and therefore the tuple output
556 object should not be modified while this object is in use.
557 <P>
558 <DL>
559 <DT><B>Parameters:</B><DD><CODE>output</CODE> - is the tuple output object containing the data to be read.</DL>
560 </DL>
561
562 <!-- ============ METHOD DETAIL ========== -->
563
564 <A NAME="method_detail"><!-- --></A>
565 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
566 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
567 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
568 <B>Method Detail</B></FONT></TH>
569 </TR>
570 </TABLE>
571
572 <A NAME="readString()"><!-- --></A><H3>
573 readString</H3>
574 <PRE>
575 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>readString</B>()
576 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A>,
577 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
578 <DL>
579 <DD>Reads a null-terminated UTF string from the data buffer and converts
580 the data from UTF to Unicode.
581 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeString(java.lang.String)"><CODE>TupleOutput.writeString(String)</CODE></A>.
582 <P>
583 <DD><DL>
584
585 <DT><B>Returns:</B><DD>the converted string.
586 <DT><B>Throws:</B>
587 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if no null terminating byte is found
588 in the buffer.
589 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - malformed UTF data is encountered.<DT><B>See Also:</B><DD><a href="package-summary.html#stringFormats">String Formats</a></DL>
590 </DD>
591 </DL>
592 <HR>
593
594 <A NAME="readChar()"><!-- --></A><H3>
595 readChar</H3>
596 <PRE>
597 public final char <B>readChar</B>()
598 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
599 <DL>
600 <DD>Reads a char (two byte) unsigned value from the buffer.
601 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeChar(int)"><CODE>TupleOutput.writeChar(int)</CODE></A>.
602 <P>
603 <DD><DL>
604
605 <DT><B>Returns:</B><DD>the value read from the buffer.
606 <DT><B>Throws:</B>
607 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
608 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
609 </DD>
610 </DL>
611 <HR>
612
613 <A NAME="readBoolean()"><!-- --></A><H3>
614 readBoolean</H3>
615 <PRE>
616 public final boolean <B>readBoolean</B>()
617 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
618 <DL>
619 <DD>Reads a boolean (one byte) unsigned value from the buffer and returns
620 true if it is non-zero and false if it is zero.
621 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBoolean(boolean)"><CODE>TupleOutput.writeBoolean(boolean)</CODE></A>.
622 <P>
623 <DD><DL>
624
625 <DT><B>Returns:</B><DD>the value read from the buffer.
626 <DT><B>Throws:</B>
627 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
628 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
629 </DD>
630 </DL>
631 <HR>
632
633 <A NAME="readByte()"><!-- --></A><H3>
634 readByte</H3>
635 <PRE>
636 public final byte <B>readByte</B>()
637 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
638 <DL>
639 <DD>Reads a signed byte (one byte) value from the buffer.
640 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeByte(int)"><CODE>TupleOutput.writeByte(int)</CODE></A>.
641 <P>
642 <DD><DL>
643
644 <DT><B>Returns:</B><DD>the value read from the buffer.
645 <DT><B>Throws:</B>
646 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
647 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
648 </DD>
649 </DL>
650 <HR>
651
652 <A NAME="readShort()"><!-- --></A><H3>
653 readShort</H3>
654 <PRE>
655 public final short <B>readShort</B>()
656 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
657 <DL>
658 <DD>Reads a signed short (two byte) value from the buffer.
659 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeShort(int)"><CODE>TupleOutput.writeShort(int)</CODE></A>.
660 <P>
661 <DD><DL>
662
663 <DT><B>Returns:</B><DD>the value read from the buffer.
664 <DT><B>Throws:</B>
665 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
666 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
667 </DD>
668 </DL>
669 <HR>
670
671 <A NAME="readInt()"><!-- --></A><H3>
672 readInt</H3>
673 <PRE>
674 public final int <B>readInt</B>()
675 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
676 <DL>
677 <DD>Reads a signed int (four byte) value from the buffer.
678 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeInt(int)"><CODE>TupleOutput.writeInt(int)</CODE></A>.
679 <P>
680 <DD><DL>
681
682 <DT><B>Returns:</B><DD>the value read from the buffer.
683 <DT><B>Throws:</B>
684 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
685 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
686 </DD>
687 </DL>
688 <HR>
689
690 <A NAME="readLong()"><!-- --></A><H3>
691 readLong</H3>
692 <PRE>
693 public final long <B>readLong</B>()
694 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
695 <DL>
696 <DD>Reads a signed long (eight byte) value from the buffer.
697 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeLong(long)"><CODE>TupleOutput.writeLong(long)</CODE></A>.
698 <P>
699 <DD><DL>
700
701 <DT><B>Returns:</B><DD>the value read from the buffer.
702 <DT><B>Throws:</B>
703 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
704 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
705 </DD>
706 </DL>
707 <HR>
708
709 <A NAME="readFloat()"><!-- --></A><H3>
710 readFloat</H3>
711 <PRE>
712 public final float <B>readFloat</B>()
713 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
714 <DL>
715 <DD>Reads an unsorted float (four byte) value from the buffer.
716 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeFloat(float)"><CODE>TupleOutput.writeFloat(float)</CODE></A>.
717 <P>
718 <DD><DL>
719
720 <DT><B>Returns:</B><DD>the value read from the buffer.
721 <DT><B>Throws:</B>
722 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
723 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
724 Formats</a></DL>
725 </DD>
726 </DL>
727 <HR>
728
729 <A NAME="readDouble()"><!-- --></A><H3>
730 readDouble</H3>
731 <PRE>
732 public final double <B>readDouble</B>()
733 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
734 <DL>
735 <DD>Reads an unsorted double (eight byte) value from the buffer.
736 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeDouble(double)"><CODE>TupleOutput.writeDouble(double)</CODE></A>.
737 <P>
738 <DD><DL>
739
740 <DT><B>Returns:</B><DD>the value read from the buffer.
741 <DT><B>Throws:</B>
742 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
743 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
744 Formats</a></DL>
745 </DD>
746 </DL>
747 <HR>
748
749 <A NAME="readSortedFloat()"><!-- --></A><H3>
750 readSortedFloat</H3>
751 <PRE>
752 public final float <B>readSortedFloat</B>()
753 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
754 <DL>
755 <DD>Reads a sorted float (four byte) value from the buffer.
756 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedFloat(float)"><CODE>TupleOutput.writeSortedFloat(float)</CODE></A>.
757 <P>
758 <DD><DL>
759
760 <DT><B>Returns:</B><DD>the value read from the buffer.
761 <DT><B>Throws:</B>
762 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
763 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
764 Formats</a></DL>
765 </DD>
766 </DL>
767 <HR>
768
769 <A NAME="readSortedDouble()"><!-- --></A><H3>
770 readSortedDouble</H3>
771 <PRE>
772 public final double <B>readSortedDouble</B>()
773 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
774 <DL>
775 <DD>Reads a sorted double (eight byte) value from the buffer.
776 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedDouble(double)"><CODE>TupleOutput.writeSortedDouble(double)</CODE></A>.
777 <P>
778 <DD><DL>
779
780 <DT><B>Returns:</B><DD>the value read from the buffer.
781 <DT><B>Throws:</B>
782 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
783 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
784 Formats</a></DL>
785 </DD>
786 </DL>
787 <HR>
788
789 <A NAME="readUnsignedByte()"><!-- --></A><H3>
790 readUnsignedByte</H3>
791 <PRE>
792 public final int <B>readUnsignedByte</B>()
793 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
794 <DL>
795 <DD>Reads an unsigned byte (one byte) value from the buffer.
796 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeUnsignedByte(int)"><CODE>TupleOutput.writeUnsignedByte(int)</CODE></A>.
797 <P>
798 <DD><DL>
799
800 <DT><B>Returns:</B><DD>the value read from the buffer.
801 <DT><B>Throws:</B>
802 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
803 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
804 </DD>
805 </DL>
806 <HR>
807
808 <A NAME="readUnsignedShort()"><!-- --></A><H3>
809 readUnsignedShort</H3>
810 <PRE>
811 public final int <B>readUnsignedShort</B>()
812 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
813 <DL>
814 <DD>Reads an unsigned short (two byte) value from the buffer.
815 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeUnsignedShort(int)"><CODE>TupleOutput.writeUnsignedShort(int)</CODE></A>.
816 <P>
817 <DD><DL>
818
819 <DT><B>Returns:</B><DD>the value read from the buffer.
820 <DT><B>Throws:</B>
821 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
822 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
823 </DD>
824 </DL>
825 <HR>
826
827 <A NAME="readUnsignedInt()"><!-- --></A><H3>
828 readUnsignedInt</H3>
829 <PRE>
830 public final long <B>readUnsignedInt</B>()
831 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
832 <DL>
833 <DD>Reads an unsigned int (four byte) value from the buffer.
834 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeUnsignedInt(long)"><CODE>TupleOutput.writeUnsignedInt(long)</CODE></A>.
835 <P>
836 <DD><DL>
837
838 <DT><B>Returns:</B><DD>the value read from the buffer.
839 <DT><B>Throws:</B>
840 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
841 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
842 </DD>
843 </DL>
844 <HR>
845
846 <A NAME="readBytes(int)"><!-- --></A><H3>
847 readBytes</H3>
848 <PRE>
849 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>readBytes</B>(int&nbsp;length)
850 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
851 <DL>
852 <DD>Reads the specified number of bytes from the buffer, converting each
853 unsigned byte value to a character of the resulting string.
854 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBytes(java.lang.String)"><CODE>TupleOutput.writeBytes(java.lang.String)</CODE></A>.
855 <P>
856 <DD><DL>
857 <DT><B>Parameters:</B><DD><CODE>length</CODE> - is the number of bytes to be read.
858 <DT><B>Returns:</B><DD>the value read from the buffer.
859 <DT><B>Throws:</B>
860 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
861 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
862 </DD>
863 </DL>
864 <HR>
865
866 <A NAME="readChars(int)"><!-- --></A><H3>
867 readChars</H3>
868 <PRE>
869 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>readChars</B>(int&nbsp;length)
870 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
871 <DL>
872 <DD>Reads the specified number of characters from the buffer, converting
873 each two byte unsigned value to a character of the resulting string.
874 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeChars(java.lang.String)"><CODE>TupleOutput.writeChars(java.lang.String)</CODE></A>.
875 <P>
876 <DD><DL>
877 <DT><B>Parameters:</B><DD><CODE>length</CODE> - is the number of characters to be read.
878 <DT><B>Returns:</B><DD>the value read from the buffer.
879 <DT><B>Throws:</B>
880 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
881 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
882 </DD>
883 </DL>
884 <HR>
885
886 <A NAME="readBytes(char[])"><!-- --></A><H3>
887 readBytes</H3>
888 <PRE>
889 public final void <B>readBytes</B>(char[]&nbsp;chars)
890 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
891 <DL>
892 <DD>Reads the specified number of bytes from the buffer, converting each
893 unsigned byte value to a character of the resulting array.
894 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBytes(java.lang.String)"><CODE>TupleOutput.writeBytes(java.lang.String)</CODE></A>.
895 <P>
896 <DD><DL>
897 <DT><B>Parameters:</B><DD><CODE>chars</CODE> - is the array to receive the data and whose length is used
898 to determine the number of bytes to be read.
899 <DT><B>Throws:</B>
900 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
901 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
902 </DD>
903 </DL>
904 <HR>
905
906 <A NAME="readChars(char[])"><!-- --></A><H3>
907 readChars</H3>
908 <PRE>
909 public final void <B>readChars</B>(char[]&nbsp;chars)
910 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></PRE>
911 <DL>
912 <DD>Reads the specified number of characters from the buffer, converting
913 each two byte unsigned value to a character of the resulting array.
914 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeChars(java.lang.String)"><CODE>TupleOutput.writeChars(java.lang.String)</CODE></A>.
915 <P>
916 <DD><DL>
917 <DT><B>Parameters:</B><DD><CODE>chars</CODE> - is the array to receive the data and whose length is used
918 to determine the number of characters to be read.
919 <DT><B>Throws:</B>
920 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if not enough bytes are available in
921 the buffer.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
922 </DD>
923 </DL>
924 <HR>
925
926 <A NAME="readString(int)"><!-- --></A><H3>
927 readString</H3>
928 <PRE>
929 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>readString</B>(int&nbsp;length)
930 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A>,
931 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
932 <DL>
933 <DD>Reads the specified number of UTF characters string from the data
934 buffer and converts the data from UTF to Unicode.
935 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeString(char[])"><CODE>TupleOutput.writeString(char[])</CODE></A>.
936 <P>
937 <DD><DL>
938 <DT><B>Parameters:</B><DD><CODE>length</CODE> - is the number of characters to be read.
939 <DT><B>Returns:</B><DD>the converted string.
940 <DT><B>Throws:</B>
941 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if no null terminating byte is found
942 in the buffer.
943 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - malformed UTF data is encountered.<DT><B>See Also:</B><DD><a href="package-summary.html#stringFormats">String Formats</a></DL>
944 </DD>
945 </DL>
946 <HR>
947
948 <A NAME="readString(char[])"><!-- --></A><H3>
949 readString</H3>
950 <PRE>
951 public final void <B>readString</B>(char[]&nbsp;chars)
952 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A>,
953 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
954 <DL>
955 <DD>Reads the specified number of UTF characters string from the data
956 buffer and converts the data from UTF to Unicode.
957 Reads values that were written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeString(char[])"><CODE>TupleOutput.writeString(char[])</CODE></A>.
958 <P>
959 <DD><DL>
960 <DT><B>Parameters:</B><DD><CODE>chars</CODE> - is the array to receive the data and whose length is used
961 to determine the number of characters to be read.
962 <DT><B>Throws:</B>
963 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if no null terminating byte is found
964 in the buffer.
965 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - malformed UTF data is encountered.<DT><B>See Also:</B><DD><a href="package-summary.html#stringFormats">String Formats</a></DL>
966 </DD>
967 </DL>
968 <HR>
969
970 <A NAME="getStringByteLength()"><!-- --></A><H3>
971 getStringByteLength</H3>
972 <PRE>
973 public final int <B>getStringByteLength</B>()
974 throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A>,
975 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
976 <DL>
977 <DD>Returns the byte length of a null-terminated UTF string in the data
978 buffer, including the terminator. Used with string values that were
979 written using <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeString(java.lang.String)"><CODE>TupleOutput.writeString(String)</CODE></A>.
980 <P>
981 <DD><DL>
982
983 <DT><B>Throws:</B>
984 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if no null terminating byte is found
985 in the buffer.
986 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - malformed UTF data is encountered.<DT><B>See Also:</B><DD><a href="package-summary.html#stringFormats">String Formats</a></DL>
987 </DD>
988 </DL>
989 <HR>
990
991 <A NAME="readPackedInt()"><!-- --></A><H3>
992 readPackedInt</H3>
993 <PRE>
994 public final int <B>readPackedInt</B>()</PRE>
995 <DL>
996 <DD>Reads an unsorted packed integer.
997 <P>
998 <DD><DL>
999 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1000 </DD>
1001 </DL>
1002 <HR>
1003
1004 <A NAME="getPackedIntByteLength()"><!-- --></A><H3>
1005 getPackedIntByteLength</H3>
1006 <PRE>
1007 public final int <B>getPackedIntByteLength</B>()</PRE>
1008 <DL>
1009 <DD>Returns the byte length of a packed integer.
1010 <P>
1011 <DD><DL>
1012 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1013 </DD>
1014 </DL>
1015 <HR>
1016
1017 <A NAME="readPackedLong()"><!-- --></A><H3>
1018 readPackedLong</H3>
1019 <PRE>
1020 public final long <B>readPackedLong</B>()</PRE>
1021 <DL>
1022 <DD>Reads an unsorted packed long integer.
1023 <P>
1024 <DD><DL>
1025 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1026 </DD>
1027 </DL>
1028 <HR>
1029
1030 <A NAME="getPackedLongByteLength()"><!-- --></A><H3>
1031 getPackedLongByteLength</H3>
1032 <PRE>
1033 public final int <B>getPackedLongByteLength</B>()</PRE>
1034 <DL>
1035 <DD>Returns the byte length of a packed long integer.
1036 <P>
1037 <DD><DL>
1038 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1039 </DD>
1040 </DL>
1041 <HR>
1042
1043 <A NAME="readSortedPackedInt()"><!-- --></A><H3>
1044 readSortedPackedInt</H3>
1045 <PRE>
1046 public final int <B>readSortedPackedInt</B>()</PRE>
1047 <DL>
1048 <DD>Reads a sorted packed integer.
1049 <P>
1050 <DD><DL>
1051 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1052 </DD>
1053 </DL>
1054 <HR>
1055
1056 <A NAME="getSortedPackedIntByteLength()"><!-- --></A><H3>
1057 getSortedPackedIntByteLength</H3>
1058 <PRE>
1059 public final int <B>getSortedPackedIntByteLength</B>()</PRE>
1060 <DL>
1061 <DD>Returns the byte length of a sorted packed integer.
1062 <P>
1063 <DD><DL>
1064 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1065 </DD>
1066 </DL>
1067 <HR>
1068
1069 <A NAME="readSortedPackedLong()"><!-- --></A><H3>
1070 readSortedPackedLong</H3>
1071 <PRE>
1072 public final long <B>readSortedPackedLong</B>()</PRE>
1073 <DL>
1074 <DD>Reads a sorted packed long integer.
1075 <P>
1076 <DD><DL>
1077 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1078 </DD>
1079 </DL>
1080 <HR>
1081
1082 <A NAME="getSortedPackedLongByteLength()"><!-- --></A><H3>
1083 getSortedPackedLongByteLength</H3>
1084 <PRE>
1085 public final int <B>getSortedPackedLongByteLength</B>()</PRE>
1086 <DL>
1087 <DD>Returns the byte length of a sorted packed long integer.
1088 <P>
1089 <DD><DL>
1090 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1091 </DD>
1092 </DL>
1093 <HR>
1094
1095 <A NAME="readBigInteger()"><!-- --></A><H3>
1096 readBigInteger</H3>
1097 <PRE>
1098 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>readBigInteger</B>()</PRE>
1099 <DL>
1100 <DD>Reads a <code>BigInteger</code>.
1101 <P>
1102 <DD><DL>
1103 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1104 </DD>
1105 </DL>
1106 <HR>
1107
1108 <A NAME="getBigIntegerByteLength()"><!-- --></A><H3>
1109 getBigIntegerByteLength</H3>
1110 <PRE>
1111 public final int <B>getBigIntegerByteLength</B>()</PRE>
1112 <DL>
1113 <DD>Returns the byte length of a <code>BigInteger</code>.
1114 <P>
1115 <DD><DL>
1116 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
1117 </DD>
1118 </DL>
1119 <HR>
1120
1121 <A NAME="readBigDecimal()"><!-- --></A><H3>
1122 readBigDecimal</H3>
1123 <PRE>
1124 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>readBigDecimal</B>()</PRE>
1125 <DL>
1126 <DD>Reads an unsorted <code>BigDecimal</code>.
1127 <P>
1128 <DD><DL>
1129 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
1130 Formats</a></DL>
1131 </DD>
1132 </DL>
1133 <HR>
1134
1135 <A NAME="getBigDecimalByteLength()"><!-- --></A><H3>
1136 getBigDecimalByteLength</H3>
1137 <PRE>
1138 public final int <B>getBigDecimalByteLength</B>()</PRE>
1139 <DL>
1140 <DD>Returns the byte length of an unsorted <code>BigDecimal</code>.
1141 <P>
1142 <DD><DL>
1143 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
1144 Formats</a></DL>
1145 </DD>
1146 </DL>
1147 <HR>
1148
1149 <A NAME="readSortedBigDecimal()"><!-- --></A><H3>
1150 readSortedBigDecimal</H3>
1151 <PRE>
1152 public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>readSortedBigDecimal</B>()</PRE>
1153 <DL>
1154 <DD>Reads a sorted <code>BigDecimal</code>, with support for correct default
1155 sorting.
1156 <P>
1157 <DD><DL>
1158 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
1159 Formats</a></DL>
1160 </DD>
1161 </DL>
1162 <HR>
1163
1164 <A NAME="getSortedBigDecimalByteLength()"><!-- --></A><H3>
1165 getSortedBigDecimalByteLength</H3>
1166 <PRE>
1167 public final int <B>getSortedBigDecimalByteLength</B>()</PRE>
1168 <DL>
1169 <DD>Returns the byte length of a sorted <code>BigDecimal</code>.
1170 <P>
1171 <DD><DL>
1172 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
1173 Formats</a></DL>
1174 </DD>
1175 </DL>
1176 <!-- ========= END OF CLASS DATA ========= -->
1177 <HR>
1178
1179
1180 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1181 <A NAME="navbar_bottom"><!-- --></A>
1182 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1183 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1184 <TR>
1185 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1186 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1187 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1188 <TR ALIGN="center" VALIGN="top">
1189 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1190 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1191 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleInput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1193 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1194 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1195 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1196 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1197 </TR>
1198 </TABLE>
1199 </TD>
1200 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1201 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
1202 </TD>
1203 </TR>
1204
1205 <TR>
1206 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1207 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A>&nbsp;
1208 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleInputBinding.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD>
1209 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1210 <A HREF="../../../../index.html?com/sleepycat/bind/tuple/TupleInput.html" target="_top"><B>FRAMES</B></A> &nbsp;
1211 &nbsp;<A HREF="TupleInput.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1212 &nbsp;<SCRIPT type="text/javascript">
1213 <!--
1214 if(window==top) {
1215 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1216 }
1217 //-->
1218 </SCRIPT>
1219 <NOSCRIPT>
1220 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1221 </NOSCRIPT>
1222
1223
1224 </FONT></TD>
1225 </TR>
1226 <TR>
1227 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1228 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.sleepycat.util.FastInputStream">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1229 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1230 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1231 </TR>
1232 </TABLE>
1233 <A NAME="skip-navbar_bottom"></A>
1234 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1235
1236 <HR>
1237 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
1238 </BODY>
1239 </HTML>