Debian Codegraph @

docs/java/com/sleepycat/bind/tuple/TupleOutput.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 TupleOutput (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="TupleOutput (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/TupleOutput.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/TupleMarshalledBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleTupleBinding.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/TupleOutput.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="TupleOutput.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.FastOutputStream">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 TupleOutput</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/OutputStream.html?is-external=true" title="class or interface in java.io">java.io.OutputStream</A>
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sleepycat/util/FastOutputStream.html" title="class in com.sleepycat.util">com.sleepycat.util.FastOutputStream</A>
98 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bind.tuple.TupleOutput</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>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</A></DD>
102 </DL>
103 <HR>
104 <DL>
105 <DT><PRE>public class <B>TupleOutput</B><DT>extends <A HREF="../../../../com/sleepycat/util/FastOutputStream.html" title="class in com.sleepycat.util">FastOutputStream</A></DL>
106 </PRE>
107
108 <P>
109 An <code>OutputStream</code> with <code>DataOutput</code>-like methods for
110 writing 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/DataOutput.html?is-external=true" title="class or interface in java.io"><CODE>DataOutput</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/DataOutput.html?is-external=true" title="class or interface in java.io"><CODE>DataOutput</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.FastOutputStream"><!-- --></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/FastOutputStream.html" title="class in com.sleepycat.util">FastOutputStream</A></B></TH>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD><CODE><A HREF="../../../../com/sleepycat/util/FastOutputStream.html#DEFAULT_BUMP_SIZE">DEFAULT_BUMP_SIZE</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#DEFAULT_INIT_SIZE">DEFAULT_INIT_SIZE</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/TupleOutput.html#TupleOutput()">TupleOutput</A></B>()</CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a tuple output object for writing 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/TupleOutput.html#TupleOutput(byte[])">TupleOutput</A></B>(byte[]&nbsp;buffer)</CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a tuple output object for writing a byte array of tuple data,
162 using a given buffer.</TD>
163 </TR>
164 </TABLE>
165 &nbsp;
166 <!-- ========== METHOD SUMMARY =========== -->
167
168 <A NAME="method_summary"><!-- --></A>
169 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172 <B>Method Summary</B></FONT></TH>
173 </TR>
174 <TR BGCOLOR="white" CLASS="TableRowColor">
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176 <CODE>static&nbsp;int</CODE></FONT></TD>
177 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#getBigDecimalMaxByteLength(java.math.BigDecimal)">getBigDecimalMaxByteLength</A></B>(<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>&nbsp;val)</CODE>
178
179 <BR>
180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum byte length that would be output for a given <code>BigDecimal</code> value if <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBigDecimal(java.math.BigDecimal)"><CODE>writeBigDecimal(java.math.BigDecimal)</CODE></A> were called.</TD>
181 </TR>
182 <TR BGCOLOR="white" CLASS="TableRowColor">
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184 <CODE>static&nbsp;int</CODE></FONT></TD>
185 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#getBigIntegerByteLength(java.math.BigInteger)">getBigIntegerByteLength</A></B>(<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>&nbsp;val)</CODE>
186
187 <BR>
188 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the exact byte length that would would be output for a given
189 <code>BigInteger</code> value if <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBigInteger(java.math.BigInteger)"><CODE>writeBigInteger(java.math.BigInteger)</CODE></A> were
190 called.</TD>
191 </TR>
192 <TR BGCOLOR="white" CLASS="TableRowColor">
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194 <CODE>static&nbsp;int</CODE></FONT></TD>
195 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#getSortedBigDecimalMaxByteLength(java.math.BigDecimal)">getSortedBigDecimalMaxByteLength</A></B>(<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>&nbsp;val)</CODE>
196
197 <BR>
198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum byte length that would be output for a given <code>BigDecimal</code> value if <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedBigDecimal(java.math.BigDecimal)"><CODE>writeSortedBigDecimal(java.math.BigDecimal)</CODE></A> were
199 called.</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBigDecimal(java.math.BigDecimal)">writeBigDecimal</A></B>(<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>&nbsp;val)</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsorted <code>BigDecimal</code>.</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBigInteger(java.math.BigInteger)">writeBigInteger</A></B>(<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>&nbsp;val)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a <code>BigInteger</code>.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBoolean(boolean)">writeBoolean</A></B>(boolean&nbsp;val)</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a boolean (one byte) unsigned value to the buffer, writing one
224 if the value is true and zero if it is false.</TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeByte(int)">writeByte</A></B>(int&nbsp;val)</CODE>
230
231 <BR>
232 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an signed byte (one byte) value to the buffer.</TD>
233 </TR>
234 <TR BGCOLOR="white" CLASS="TableRowColor">
235 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
237 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBytes(char[])">writeBytes</A></B>(char[]&nbsp;chars)</CODE>
238
239 <BR>
240 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the specified bytes to the buffer, converting each character to
241 an unsigned byte value.</TD>
242 </TR>
243 <TR BGCOLOR="white" CLASS="TableRowColor">
244 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
246 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBytes(java.lang.String)">writeBytes</A></B>(<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>&nbsp;val)</CODE>
247
248 <BR>
249 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the specified bytes to the buffer, converting each character to
250 an unsigned byte value.</TD>
251 </TR>
252 <TR BGCOLOR="white" CLASS="TableRowColor">
253 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
254 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
255 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeChar(int)">writeChar</A></B>(int&nbsp;val)</CODE>
256
257 <BR>
258 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a char (two byte) unsigned value to the buffer.</TD>
259 </TR>
260 <TR BGCOLOR="white" CLASS="TableRowColor">
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
263 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeChars(char[])">writeChars</A></B>(char[]&nbsp;chars)</CODE>
264
265 <BR>
266 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the specified characters to the buffer, converting each character
267 to a two byte unsigned value.</TD>
268 </TR>
269 <TR BGCOLOR="white" CLASS="TableRowColor">
270 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
272 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeChars(java.lang.String)">writeChars</A></B>(<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>&nbsp;val)</CODE>
273
274 <BR>
275 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the specified characters to the buffer, converting each character
276 to a two byte unsigned value.</TD>
277 </TR>
278 <TR BGCOLOR="white" CLASS="TableRowColor">
279 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
281 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeDouble(double)">writeDouble</A></B>(double&nbsp;val)</CODE>
282
283 <BR>
284 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsorted double (eight byte) value to the buffer.</TD>
285 </TR>
286 <TR BGCOLOR="white" CLASS="TableRowColor">
287 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
289 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeFloat(float)">writeFloat</A></B>(float&nbsp;val)</CODE>
290
291 <BR>
292 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsorted float (four byte) value to the buffer.</TD>
293 </TR>
294 <TR BGCOLOR="white" CLASS="TableRowColor">
295 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
297 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeInt(int)">writeInt</A></B>(int&nbsp;val)</CODE>
298
299 <BR>
300 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an signed int (four byte) value to the buffer.</TD>
301 </TR>
302 <TR BGCOLOR="white" CLASS="TableRowColor">
303 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
305 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeLong(long)">writeLong</A></B>(long&nbsp;val)</CODE>
306
307 <BR>
308 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an signed long (eight byte) value to the buffer.</TD>
309 </TR>
310 <TR BGCOLOR="white" CLASS="TableRowColor">
311 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
313 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writePackedInt(int)">writePackedInt</A></B>(int&nbsp;val)</CODE>
314
315 <BR>
316 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsorted packed integer.</TD>
317 </TR>
318 <TR BGCOLOR="white" CLASS="TableRowColor">
319 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
321 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writePackedLong(long)">writePackedLong</A></B>(long&nbsp;val)</CODE>
322
323 <BR>
324 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsorted packed long integer.</TD>
325 </TR>
326 <TR BGCOLOR="white" CLASS="TableRowColor">
327 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
329 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeShort(int)">writeShort</A></B>(int&nbsp;val)</CODE>
330
331 <BR>
332 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an signed short (two byte) value to the buffer.</TD>
333 </TR>
334 <TR BGCOLOR="white" CLASS="TableRowColor">
335 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
337 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedBigDecimal(java.math.BigDecimal)">writeSortedBigDecimal</A></B>(<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>&nbsp;val)</CODE>
338
339 <BR>
340 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a sorted <code>BigDecimal</code>.</TD>
341 </TR>
342 <TR BGCOLOR="white" CLASS="TableRowColor">
343 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
345 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedDouble(double)">writeSortedDouble</A></B>(double&nbsp;val)</CODE>
346
347 <BR>
348 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a sorted double (eight byte) value to the buffer.</TD>
349 </TR>
350 <TR BGCOLOR="white" CLASS="TableRowColor">
351 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
353 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedFloat(float)">writeSortedFloat</A></B>(float&nbsp;val)</CODE>
354
355 <BR>
356 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a sorted float (four byte) value to the buffer.</TD>
357 </TR>
358 <TR BGCOLOR="white" CLASS="TableRowColor">
359 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
360 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
361 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedPackedInt(int)">writeSortedPackedInt</A></B>(int&nbsp;val)</CODE>
362
363 <BR>
364 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a sorted packed integer.</TD>
365 </TR>
366 <TR BGCOLOR="white" CLASS="TableRowColor">
367 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
369 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedPackedLong(long)">writeSortedPackedLong</A></B>(long&nbsp;val)</CODE>
370
371 <BR>
372 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a sorted packed long integer.</TD>
373 </TR>
374 <TR BGCOLOR="white" CLASS="TableRowColor">
375 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
376 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
377 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeString(char[])">writeString</A></B>(char[]&nbsp;chars)</CODE>
378
379 <BR>
380 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the specified characters to the buffer, converting each character
381 to UTF format.</TD>
382 </TR>
383 <TR BGCOLOR="white" CLASS="TableRowColor">
384 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
385 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
386 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeString(java.lang.String)">writeString</A></B>(<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>&nbsp;val)</CODE>
387
388 <BR>
389 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the specified characters to the buffer, converting each character
390 to UTF format, and adding a null terminator byte.</TD>
391 </TR>
392 <TR BGCOLOR="white" CLASS="TableRowColor">
393 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
394 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
395 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeUnsignedByte(int)">writeUnsignedByte</A></B>(int&nbsp;val)</CODE>
396
397 <BR>
398 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsigned byte (one byte) value to the buffer.</TD>
399 </TR>
400 <TR BGCOLOR="white" CLASS="TableRowColor">
401 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
402 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
403 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeUnsignedInt(long)">writeUnsignedInt</A></B>(long&nbsp;val)</CODE>
404
405 <BR>
406 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsigned int (four byte) value to the buffer.</TD>
407 </TR>
408 <TR BGCOLOR="white" CLASS="TableRowColor">
409 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
410 <CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD>
411 <TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeUnsignedShort(int)">writeUnsignedShort</A></B>(int&nbsp;val)</CODE>
412
413 <BR>
414 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an unsigned short (two byte) value to the buffer.</TD>
415 </TR>
416 </TABLE>
417 &nbsp;<A NAME="methods_inherited_from_class_com.sleepycat.util.FastOutputStream"><!-- --></A>
418 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
419 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
420 <TH ALIGN="left"><B>Methods inherited from class com.sleepycat.util.<A HREF="../../../../com/sleepycat/util/FastOutputStream.html" title="class in com.sleepycat.util">FastOutputStream</A></B></TH>
421 </TR>
422 <TR BGCOLOR="white" CLASS="TableRowColor">
423 <TD><CODE><A HREF="../../../../com/sleepycat/util/FastOutputStream.html#addSize(int)">addSize</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#getBufferBytes()">getBufferBytes</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#getBufferLength()">getBufferLength</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#getBufferOffset()">getBufferOffset</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#makeSpace(int)">makeSpace</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#reset()">reset</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#size()">size</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#toByteArray()">toByteArray</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#toString()">toString</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#toString(java.lang.String)">toString</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#write(byte[])">write</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#write(byte[], int, int)">write</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#write(int)">write</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#writeFast(byte[])">writeFast</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#writeFast(byte[], int, int)">writeFast</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#writeFast(int)">writeFast</A>, <A HREF="../../../../com/sleepycat/util/FastOutputStream.html#writeTo(java.io.OutputStream)">writeTo</A></CODE></TD>
424 </TR>
425 </TABLE>
426 &nbsp;<A NAME="methods_inherited_from_class_java.io.OutputStream"><!-- --></A>
427 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
428 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
429 <TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></B></TH>
430 </TR>
431 <TR BGCOLOR="white" CLASS="TableRowColor">
432 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true#close()" title="class or interface in java.io">close</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true#flush()" title="class or interface in java.io">flush</A></CODE></TD>
433 </TR>
434 </TABLE>
435 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
436 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
437 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
438 <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>
439 </TR>
440 <TR BGCOLOR="white" CLASS="TableRowColor">
441 <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#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>
442 </TR>
443 </TABLE>
444 &nbsp;
445 <P>
446
447 <!-- ========= CONSTRUCTOR DETAIL ======== -->
448
449 <A NAME="constructor_detail"><!-- --></A>
450 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
451 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
452 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
453 <B>Constructor Detail</B></FONT></TH>
454 </TR>
455 </TABLE>
456
457 <A NAME="TupleOutput()"><!-- --></A><H3>
458 TupleOutput</H3>
459 <PRE>
460 public <B>TupleOutput</B>()</PRE>
461 <DL>
462 <DD>Creates a tuple output object for writing a byte array of tuple data.
463 <P>
464 </DL>
465 <HR>
466
467 <A NAME="TupleOutput(byte[])"><!-- --></A><H3>
468 TupleOutput</H3>
469 <PRE>
470 public <B>TupleOutput</B>(byte[]&nbsp;buffer)</PRE>
471 <DL>
472 <DD>Creates a tuple output object for writing a byte array of tuple data,
473 using a given buffer. A new buffer will be allocated only if the number
474 of bytes needed is greater than the length of this buffer. A reference
475 to the byte array will be kept by this object and therefore the byte
476 array should not be modified while this object is in use.
477 <P>
478 <DL>
479 <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - is the byte array to use as the buffer.</DL>
480 </DL>
481
482 <!-- ============ METHOD DETAIL ========== -->
483
484 <A NAME="method_detail"><!-- --></A>
485 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
486 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
487 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
488 <B>Method Detail</B></FONT></TH>
489 </TR>
490 </TABLE>
491
492 <A NAME="writeBytes(java.lang.String)"><!-- --></A><H3>
493 writeBytes</H3>
494 <PRE>
495 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeBytes</B>(<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>&nbsp;val)</PRE>
496 <DL>
497 <DD>Writes the specified bytes to the buffer, converting each character to
498 an unsigned byte value.
499 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBytes(int)"><CODE>TupleInput.readBytes(int)</CODE></A>.
500 <P>
501 <DD><DL>
502 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the string containing the values to be written.
503 Only characters with values below 0x100 may be written using this
504 method, since the high-order 8 bits of all characters are discarded.
505 <DT><B>Returns:</B><DD>this tuple output object.
506 <DT><B>Throws:</B>
507 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the val parameter is null.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
508 </DD>
509 </DL>
510 <HR>
511
512 <A NAME="writeChars(java.lang.String)"><!-- --></A><H3>
513 writeChars</H3>
514 <PRE>
515 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeChars</B>(<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>&nbsp;val)</PRE>
516 <DL>
517 <DD>Writes the specified characters to the buffer, converting each character
518 to a two byte unsigned value.
519 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readChars(int)"><CODE>TupleInput.readChars(int)</CODE></A>.
520 <P>
521 <DD><DL>
522 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the string containing the characters to be written.
523 <DT><B>Returns:</B><DD>this tuple output object.
524 <DT><B>Throws:</B>
525 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the val parameter is null.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
526 </DD>
527 </DL>
528 <HR>
529
530 <A NAME="writeString(java.lang.String)"><!-- --></A><H3>
531 writeString</H3>
532 <PRE>
533 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeString</B>(<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>&nbsp;val)</PRE>
534 <DL>
535 <DD>Writes the specified characters to the buffer, converting each character
536 to UTF format, and adding a null terminator byte.
537 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readString()"><CODE>TupleInput.readString()</CODE></A>.
538 <P>
539 <DD><DL>
540 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the string containing the characters to be written.
541 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#stringFormats">String Formats</a></DL>
542 </DD>
543 </DL>
544 <HR>
545
546 <A NAME="writeChar(int)"><!-- --></A><H3>
547 writeChar</H3>
548 <PRE>
549 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeChar</B>(int&nbsp;val)</PRE>
550 <DL>
551 <DD>Writes a char (two byte) unsigned value to the buffer.
552 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readChar()"><CODE>TupleInput.readChar()</CODE></A>.
553 <P>
554 <DD><DL>
555 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
556 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
557 </DD>
558 </DL>
559 <HR>
560
561 <A NAME="writeBoolean(boolean)"><!-- --></A><H3>
562 writeBoolean</H3>
563 <PRE>
564 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeBoolean</B>(boolean&nbsp;val)</PRE>
565 <DL>
566 <DD>Writes a boolean (one byte) unsigned value to the buffer, writing one
567 if the value is true and zero if it is false.
568 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBoolean()"><CODE>TupleInput.readBoolean()</CODE></A>.
569 <P>
570 <DD><DL>
571 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
572 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
573 </DD>
574 </DL>
575 <HR>
576
577 <A NAME="writeByte(int)"><!-- --></A><H3>
578 writeByte</H3>
579 <PRE>
580 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeByte</B>(int&nbsp;val)</PRE>
581 <DL>
582 <DD>Writes an signed byte (one byte) value to the buffer.
583 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readByte()"><CODE>TupleInput.readByte()</CODE></A>.
584 <P>
585 <DD><DL>
586 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
587 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
588 </DD>
589 </DL>
590 <HR>
591
592 <A NAME="writeShort(int)"><!-- --></A><H3>
593 writeShort</H3>
594 <PRE>
595 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeShort</B>(int&nbsp;val)</PRE>
596 <DL>
597 <DD>Writes an signed short (two byte) value to the buffer.
598 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readShort()"><CODE>TupleInput.readShort()</CODE></A>.
599 <P>
600 <DD><DL>
601 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
602 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
603 </DD>
604 </DL>
605 <HR>
606
607 <A NAME="writeInt(int)"><!-- --></A><H3>
608 writeInt</H3>
609 <PRE>
610 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeInt</B>(int&nbsp;val)</PRE>
611 <DL>
612 <DD>Writes an signed int (four byte) value to the buffer.
613 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readInt()"><CODE>TupleInput.readInt()</CODE></A>.
614 <P>
615 <DD><DL>
616 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
617 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
618 </DD>
619 </DL>
620 <HR>
621
622 <A NAME="writeLong(long)"><!-- --></A><H3>
623 writeLong</H3>
624 <PRE>
625 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeLong</B>(long&nbsp;val)</PRE>
626 <DL>
627 <DD>Writes an signed long (eight byte) value to the buffer.
628 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readLong()"><CODE>TupleInput.readLong()</CODE></A>.
629 <P>
630 <DD><DL>
631 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
632 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
633 </DD>
634 </DL>
635 <HR>
636
637 <A NAME="writeFloat(float)"><!-- --></A><H3>
638 writeFloat</H3>
639 <PRE>
640 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeFloat</B>(float&nbsp;val)</PRE>
641 <DL>
642 <DD>Writes an unsorted float (four byte) value to the buffer.
643 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readFloat()"><CODE>TupleInput.readFloat()</CODE></A>.
644 <P>
645 <DD><DL>
646 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
647 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
648 Formats</a></DL>
649 </DD>
650 </DL>
651 <HR>
652
653 <A NAME="writeDouble(double)"><!-- --></A><H3>
654 writeDouble</H3>
655 <PRE>
656 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeDouble</B>(double&nbsp;val)</PRE>
657 <DL>
658 <DD>Writes an unsorted double (eight byte) value to the buffer.
659 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readDouble()"><CODE>TupleInput.readDouble()</CODE></A>.
660 <P>
661 <DD><DL>
662 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
663 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
664 Formats</a></DL>
665 </DD>
666 </DL>
667 <HR>
668
669 <A NAME="writeSortedFloat(float)"><!-- --></A><H3>
670 writeSortedFloat</H3>
671 <PRE>
672 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeSortedFloat</B>(float&nbsp;val)</PRE>
673 <DL>
674 <DD>Writes a sorted float (four byte) value to the buffer.
675 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedFloat()"><CODE>TupleInput.readSortedFloat()</CODE></A>.
676 <P>
677 <DD><DL>
678 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
679 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
680 Formats</a></DL>
681 </DD>
682 </DL>
683 <HR>
684
685 <A NAME="writeSortedDouble(double)"><!-- --></A><H3>
686 writeSortedDouble</H3>
687 <PRE>
688 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeSortedDouble</B>(double&nbsp;val)</PRE>
689 <DL>
690 <DD>Writes a sorted double (eight byte) value to the buffer.
691 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readSortedDouble()"><CODE>TupleInput.readSortedDouble()</CODE></A>.
692 <P>
693 <DD><DL>
694 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
695 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#floatFormats">Floating Point
696 Formats</a></DL>
697 </DD>
698 </DL>
699 <HR>
700
701 <A NAME="writeBytes(char[])"><!-- --></A><H3>
702 writeBytes</H3>
703 <PRE>
704 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeBytes</B>(char[]&nbsp;chars)</PRE>
705 <DL>
706 <DD>Writes the specified bytes to the buffer, converting each character to
707 an unsigned byte value.
708 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readBytes(int)"><CODE>TupleInput.readBytes(int)</CODE></A>.
709 <P>
710 <DD><DL>
711 <DT><B>Parameters:</B><DD><CODE>chars</CODE> - is the array of values to be written.
712 Only characters with values below 0x100 may be written using this
713 method, since the high-order 8 bits of all characters are discarded.
714 <DT><B>Returns:</B><DD>this tuple output object.
715 <DT><B>Throws:</B>
716 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the chars parameter is null.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
717 </DD>
718 </DL>
719 <HR>
720
721 <A NAME="writeChars(char[])"><!-- --></A><H3>
722 writeChars</H3>
723 <PRE>
724 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeChars</B>(char[]&nbsp;chars)</PRE>
725 <DL>
726 <DD>Writes the specified characters to the buffer, converting each character
727 to a two byte unsigned value.
728 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readChars(int)"><CODE>TupleInput.readChars(int)</CODE></A>.
729 <P>
730 <DD><DL>
731 <DT><B>Parameters:</B><DD><CODE>chars</CODE> - is the array of characters to be written.
732 <DT><B>Returns:</B><DD>this tuple output object.
733 <DT><B>Throws:</B>
734 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the chars parameter is null.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
735 </DD>
736 </DL>
737 <HR>
738
739 <A NAME="writeString(char[])"><!-- --></A><H3>
740 writeString</H3>
741 <PRE>
742 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeString</B>(char[]&nbsp;chars)</PRE>
743 <DL>
744 <DD>Writes the specified characters to the buffer, converting each character
745 to UTF format.
746 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readString(int)"><CODE>TupleInput.readString(int)</CODE></A>
747 or <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readString(char[])"><CODE>TupleInput.readString(char[])</CODE></A>.
748 <P>
749 <DD><DL>
750 <DT><B>Parameters:</B><DD><CODE>chars</CODE> - is the array of characters to be written.
751 <DT><B>Returns:</B><DD>this tuple output object.
752 <DT><B>Throws:</B>
753 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the chars parameter is null.<DT><B>See Also:</B><DD><a href="package-summary.html#stringFormats">String Formats</a></DL>
754 </DD>
755 </DL>
756 <HR>
757
758 <A NAME="writeUnsignedByte(int)"><!-- --></A><H3>
759 writeUnsignedByte</H3>
760 <PRE>
761 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeUnsignedByte</B>(int&nbsp;val)</PRE>
762 <DL>
763 <DD>Writes an unsigned byte (one byte) value to the buffer.
764 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readUnsignedByte()"><CODE>TupleInput.readUnsignedByte()</CODE></A>.
765 <P>
766 <DD><DL>
767 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
768 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
769 </DD>
770 </DL>
771 <HR>
772
773 <A NAME="writeUnsignedShort(int)"><!-- --></A><H3>
774 writeUnsignedShort</H3>
775 <PRE>
776 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeUnsignedShort</B>(int&nbsp;val)</PRE>
777 <DL>
778 <DD>Writes an unsigned short (two byte) value to the buffer.
779 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readUnsignedShort()"><CODE>TupleInput.readUnsignedShort()</CODE></A>.
780 <P>
781 <DD><DL>
782 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
783 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
784 </DD>
785 </DL>
786 <HR>
787
788 <A NAME="writeUnsignedInt(long)"><!-- --></A><H3>
789 writeUnsignedInt</H3>
790 <PRE>
791 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeUnsignedInt</B>(long&nbsp;val)</PRE>
792 <DL>
793 <DD>Writes an unsigned int (four byte) value to the buffer.
794 Writes values that can be read using <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html#readUnsignedInt()"><CODE>TupleInput.readUnsignedInt()</CODE></A>.
795 <P>
796 <DD><DL>
797 <DT><B>Parameters:</B><DD><CODE>val</CODE> - is the value to write to the buffer.
798 <DT><B>Returns:</B><DD>this tuple output object.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
799 </DD>
800 </DL>
801 <HR>
802
803 <A NAME="writePackedInt(int)"><!-- --></A><H3>
804 writePackedInt</H3>
805 <PRE>
806 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writePackedInt</B>(int&nbsp;val)</PRE>
807 <DL>
808 <DD>Writes an unsorted packed integer.
809 <P>
810 <DD><DL>
811 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
812 </DD>
813 </DL>
814 <HR>
815
816 <A NAME="writePackedLong(long)"><!-- --></A><H3>
817 writePackedLong</H3>
818 <PRE>
819 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writePackedLong</B>(long&nbsp;val)</PRE>
820 <DL>
821 <DD>Writes an unsorted packed long integer.
822 <P>
823 <DD><DL>
824 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
825 </DD>
826 </DL>
827 <HR>
828
829 <A NAME="writeSortedPackedInt(int)"><!-- --></A><H3>
830 writeSortedPackedInt</H3>
831 <PRE>
832 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeSortedPackedInt</B>(int&nbsp;val)</PRE>
833 <DL>
834 <DD>Writes a sorted packed integer.
835 <P>
836 <DD><DL>
837 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
838 </DD>
839 </DL>
840 <HR>
841
842 <A NAME="writeSortedPackedLong(long)"><!-- --></A><H3>
843 writeSortedPackedLong</H3>
844 <PRE>
845 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeSortedPackedLong</B>(long&nbsp;val)</PRE>
846 <DL>
847 <DD>Writes a sorted packed long integer.
848 <P>
849 <DD><DL>
850 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
851 </DD>
852 </DL>
853 <HR>
854
855 <A NAME="writeBigInteger(java.math.BigInteger)"><!-- --></A><H3>
856 writeBigInteger</H3>
857 <PRE>
858 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeBigInteger</B>(<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>&nbsp;val)</PRE>
859 <DL>
860 <DD>Writes a <code>BigInteger</code>.
861 <P>
862 <DD><DL>
863
864 <DT><B>Throws:</B>
865 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if val is null.
866 <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> - if the byte array representation of val
867 is larger than 0x7fff bytes.<DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
868 </DD>
869 </DL>
870 <HR>
871
872 <A NAME="getBigIntegerByteLength(java.math.BigInteger)"><!-- --></A><H3>
873 getBigIntegerByteLength</H3>
874 <PRE>
875 public static int <B>getBigIntegerByteLength</B>(<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>&nbsp;val)</PRE>
876 <DL>
877 <DD>Returns the exact byte length that would would be output for a given
878 <code>BigInteger</code> value if <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBigInteger(java.math.BigInteger)"><CODE>writeBigInteger(java.math.BigInteger)</CODE></A> were
879 called.
880 <P>
881 <DD><DL>
882 <DT><B>See Also:</B><DD><a href="package-summary.html#integerFormats">Integer Formats</a></DL>
883 </DD>
884 </DL>
885 <HR>
886
887 <A NAME="writeBigDecimal(java.math.BigDecimal)"><!-- --></A><H3>
888 writeBigDecimal</H3>
889 <PRE>
890 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeBigDecimal</B>(<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>&nbsp;val)</PRE>
891 <DL>
892 <DD>Writes an unsorted <code>BigDecimal</code>.
893 <P>
894 <DD><DL>
895
896 <DT><B>Throws:</B>
897 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if val is null.<DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
898 Formats</a></DL>
899 </DD>
900 </DL>
901 <HR>
902
903 <A NAME="getBigDecimalMaxByteLength(java.math.BigDecimal)"><!-- --></A><H3>
904 getBigDecimalMaxByteLength</H3>
905 <PRE>
906 public static int <B>getBigDecimalMaxByteLength</B>(<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>&nbsp;val)</PRE>
907 <DL>
908 <DD>Returns the maximum byte length that would be output for a given <code>BigDecimal</code> value if <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeBigDecimal(java.math.BigDecimal)"><CODE>writeBigDecimal(java.math.BigDecimal)</CODE></A> were called.
909 <P>
910 <DD><DL>
911 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
912 Formats</a></DL>
913 </DD>
914 </DL>
915 <HR>
916
917 <A NAME="writeSortedBigDecimal(java.math.BigDecimal)"><!-- --></A><H3>
918 writeSortedBigDecimal</H3>
919 <PRE>
920 public final <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>writeSortedBigDecimal</B>(<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>&nbsp;val)</PRE>
921 <DL>
922 <DD>Writes a sorted <code>BigDecimal</code>.
923 <P>
924 <DD><DL>
925 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
926 Formats</a></DL>
927 </DD>
928 </DL>
929 <HR>
930
931 <A NAME="getSortedBigDecimalMaxByteLength(java.math.BigDecimal)"><!-- --></A><H3>
932 getSortedBigDecimalMaxByteLength</H3>
933 <PRE>
934 public static int <B>getSortedBigDecimalMaxByteLength</B>(<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>&nbsp;val)</PRE>
935 <DL>
936 <DD>Returns the maximum byte length that would be output for a given <code>BigDecimal</code> value if <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html#writeSortedBigDecimal(java.math.BigDecimal)"><CODE>writeSortedBigDecimal(java.math.BigDecimal)</CODE></A> were
937 called.
938 <P>
939 <DD><DL>
940 <DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal
941 Formats</a></DL>
942 </DD>
943 </DL>
944 <!-- ========= END OF CLASS DATA ========= -->
945 <HR>
946
947
948 <!-- ======= START OF BOTTOM NAVBAR ====== -->
949 <A NAME="navbar_bottom"><!-- --></A>
950 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
951 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
952 <TR>
953 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
954 <A NAME="navbar_bottom_firstrow"><!-- --></A>
955 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
956 <TR ALIGN="center" VALIGN="top">
957 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
958 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
959 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
960 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleOutput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
961 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
962 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
963 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
964 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
965 </TR>
966 </TABLE>
967 </TD>
968 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
969 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
970 </TD>
971 </TR>
972
973 <TR>
974 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
975 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A>&nbsp;
976 &nbsp;<A HREF="../../../../com/sleepycat/bind/tuple/TupleTupleBinding.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD>
977 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
978 <A HREF="../../../../index.html?com/sleepycat/bind/tuple/TupleOutput.html" target="_top"><B>FRAMES</B></A> &nbsp;
979 &nbsp;<A HREF="TupleOutput.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
980 &nbsp;<SCRIPT type="text/javascript">
981 <!--
982 if(window==top) {
983 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
984 }
985 //-->
986 </SCRIPT>
987 <NOSCRIPT>
988 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
989 </NOSCRIPT>
990
991
992 </FONT></TD>
993 </TR>
994 <TR>
995 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
996 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.sleepycat.util.FastOutputStream">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
997 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
998 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
999 </TR>
1000 </TABLE>
1001 <A NAME="skip-navbar_bottom"></A>
1002 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1003
1004 <HR>
1005 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
1006 </BODY>
1007 </HTML>