diff options
author | Jesse Morgan <morganjm@amazon.com> | 2013-12-03 14:03:28 -0800 |
---|---|---|
committer | Jesse Morgan <morganjm@amazon.com> | 2013-12-03 14:03:28 -0800 |
commit | d479253768d296a40b4f699e1de9b03c7146a97a (patch) | |
tree | 208e70d81fc3e477a37d3f9ca6475c39bb6410d3 /apidocs/com/amazon/carbonado/raw/KeyDecoder.html |
Adding javadocs and Carbonado User Guidegh-pages
Diffstat (limited to 'apidocs/com/amazon/carbonado/raw/KeyDecoder.html')
-rw-r--r-- | apidocs/com/amazon/carbonado/raw/KeyDecoder.html | 936 |
1 files changed, 936 insertions, 0 deletions
diff --git a/apidocs/com/amazon/carbonado/raw/KeyDecoder.html b/apidocs/com/amazon/carbonado/raw/KeyDecoder.html new file mode 100644 index 0000000..d46933a --- /dev/null +++ b/apidocs/com/amazon/carbonado/raw/KeyDecoder.html @@ -0,0 +1,936 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_25) on Tue Dec 03 13:53:44 PST 2013 --> +<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> +<title>KeyDecoder (Carbonado 1.2.3 API)</title> +<meta name="date" content="2013-12-03"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="KeyDecoder (Carbonado 1.2.3 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/KeyDecoder.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-files/index-1.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../com/amazon/carbonado/raw/GzipCompressor.html" title="class in com.amazon.carbonado.raw"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html" title="class in com.amazon.carbonado.raw"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?com/amazon/carbonado/raw/KeyDecoder.html" target="_top">Frames</a></li> +<li><a href="KeyDecoder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">com.amazon.carbonado.raw</div> +<h2 title="Class KeyDecoder" class="title">Class KeyDecoder</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>com.amazon.carbonado.raw.KeyDecoder</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">KeyDecoder</span> +extends java.lang.Object</pre> +<div class="block">A very low-level class that decodes key components encoded by methods of + <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html" title="class in com.amazon.carbonado.raw"><code>KeyEncoder</code></a>.</div> +<dl><dt><span class="strong">Author:</span></dt> + <dd>Brian S O'Neill</dd> +<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/amazon/carbonado/raw/DataDecoder.html" title="class in com.amazon.carbonado.raw"><code>DataDecoder</code></a></dd></dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#KeyDecoder()">KeyDecoder</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decode(byte[], int, java.math.BigDecimal[])">decode</a></strong>(byte[] src, + int srcOffset, + java.math.BigDecimal[] valueRef)</code> +<div class="block">Decodes the given BigDecimal as originally encoded for ascending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decode(byte[], int, java.math.BigInteger[])">decode</a></strong>(byte[] src, + int srcOffset, + java.math.BigInteger[] valueRef)</code> +<div class="block">Decodes the given BigInteger as originally encoded for ascending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decode(byte[], int, byte[][])">decode</a></strong>(byte[] src, + int srcOffset, + byte[][] valueRef)</code> +<div class="block">Decodes the given byte array as originally encoded for ascending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeBooleanDesc(byte[], int)">decodeBooleanDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a boolean from exactly 1 byte, as encoded for descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeBooleanObjDesc(byte[], int)">decodeBooleanObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a Boolean object from exactly 1 byte, as encoded for descending + order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeByteDesc(byte[], int)">decodeByteDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed byte from exactly 1 byte, as encoded for descending + order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.lang.Byte</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeByteObjDesc(byte[], int)">decodeByteObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed Byte object from exactly 1 or 2 bytes, as encoded for + descending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Character</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeCharacterObjDesc(byte[], int)">decodeCharacterObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a Character object from exactly 1 or 3 bytes, as encoded for + descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static char</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeCharDesc(byte[], int)">decodeCharDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a char from exactly 2 bytes, as encoded for descending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeDesc(byte[], int, java.math.BigDecimal[])">decodeDesc</a></strong>(byte[] src, + int srcOffset, + java.math.BigDecimal[] valueRef)</code> +<div class="block">Decodes the given BigDecimal as originally encoded for descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeDesc(byte[], int, java.math.BigInteger[])">decodeDesc</a></strong>(byte[] src, + int srcOffset, + java.math.BigInteger[] valueRef)</code> +<div class="block">Decodes the given BigInteger as originally encoded for descending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeDesc(byte[], int, byte[][])">decodeDesc</a></strong>(byte[] src, + int srcOffset, + byte[][] valueRef)</code> +<div class="block">Decodes the given byte array as originally encoded for descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static double</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeDoubleDesc(byte[], int)">decodeDoubleDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a double from exactly 8 bytes, as encoded for descending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Double</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeDoubleObjDesc(byte[], int)">decodeDoubleObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a Double object from exactly 8 bytes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static float</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeFloatDesc(byte[], int)">decodeFloatDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a float from exactly 4 bytes, as encoded for descending order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Float</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeFloatObjDesc(byte[], int)">decodeFloatObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a Float object from exactly 4 bytes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeIntDesc(byte[], int)">decodeIntDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed integer from exactly 4 bytes, as encoded for descending + order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Integer</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeIntegerObjDesc(byte[], int)">decodeIntegerObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed Integer object from exactly 1 or 5 bytes, as encoded + for descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static long</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeLongDesc(byte[], int)">decodeLongDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed long from exactly 8 bytes, as encoded for descending + order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Long</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeLongObjDesc(byte[], int)">decodeLongObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed Long object from exactly 1 or 9 bytes, as encoded for + descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static short</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeShortDesc(byte[], int)">decodeShortDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed short from exactly 2 bytes, as encoded for descending + order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.lang.Short</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeShortObjDesc(byte[], int)">decodeShortObjDesc</a></strong>(byte[] src, + int srcOffset)</code> +<div class="block">Decodes a signed Short object from exactly 1 or 3 bytes, as encoded for + descending order.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeSingleDesc(byte[])">decodeSingleDesc</a></strong>(byte[] src)</code> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleDesc(byte[])"><code>KeyEncoder.encodeSingleDesc(byte[])</code></a>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeSingleDesc(byte[], int, int)">decodeSingleDesc</a></strong>(byte[] src, + int prefixPadding, + int suffixPadding)</code> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleDesc(byte[])"><code>KeyEncoder.encodeSingleDesc(byte[])</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeSingleNullableDesc(byte[])">decodeSingleNullableDesc</a></strong>(byte[] src)</code> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleNullableDesc(byte[])"><code>KeyEncoder.encodeSingleNullableDesc(byte[])</code></a>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeSingleNullableDesc(byte[], int, int)">decodeSingleNullableDesc</a></strong>(byte[] src, + int prefixPadding, + int suffixPadding)</code> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleNullableDesc(byte[])"><code>KeyEncoder.encodeSingleNullableDesc(byte[])</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeString(byte[], int, java.lang.String[])">decodeString</a></strong>(byte[] src, + int srcOffset, + java.lang.String[] valueRef)</code> +<div class="block">Decodes an encoded string from the given byte array.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/raw/KeyDecoder.html#decodeStringDesc(byte[], int, java.lang.String[])">decodeStringDesc</a></strong>(byte[] src, + int srcOffset, + java.lang.String[] valueRef)</code> +<div class="block">Decodes an encoded string from the given byte array as originally + encoded for descending order.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="KeyDecoder()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>KeyDecoder</h4> +<pre>public KeyDecoder()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="decodeIntDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeIntDesc</h4> +<pre>public static int decodeIntDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed integer from exactly 4 bytes, as encoded for descending + order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed integer value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeIntegerObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeIntegerObjDesc</h4> +<pre>public static java.lang.Integer decodeIntegerObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed Integer object from exactly 1 or 5 bytes, as encoded + for descending order. If null is returned, then 1 byte was read.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed Integer object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeLongDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeLongDesc</h4> +<pre>public static long decodeLongDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed long from exactly 8 bytes, as encoded for descending + order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed long value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeLongObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeLongObjDesc</h4> +<pre>public static java.lang.Long decodeLongObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed Long object from exactly 1 or 9 bytes, as encoded for + descending order. If null is returned, then 1 byte was read.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed Long object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeByteDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeByteDesc</h4> +<pre>public static byte decodeByteDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed byte from exactly 1 byte, as encoded for descending + order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed byte value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeByteObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeByteObjDesc</h4> +<pre>public static java.lang.Byte decodeByteObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed Byte object from exactly 1 or 2 bytes, as encoded for + descending order. If null is returned, then 1 byte was read.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed Byte object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeShortDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeShortDesc</h4> +<pre>public static short decodeShortDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed short from exactly 2 bytes, as encoded for descending + order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed short value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeShortObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeShortObjDesc</h4> +<pre>public static java.lang.Short decodeShortObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a signed Short object from exactly 1 or 3 bytes, as encoded for + descending order. If null is returned, then 1 byte was read.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>signed Short object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeCharDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeCharDesc</h4> +<pre>public static char decodeCharDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a char from exactly 2 bytes, as encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>char value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeCharacterObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeCharacterObjDesc</h4> +<pre>public static java.lang.Character decodeCharacterObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a Character object from exactly 1 or 3 bytes, as encoded for + descending order. If null is returned, then 1 byte was read.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>Character object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeBooleanDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeBooleanDesc</h4> +<pre>public static boolean decodeBooleanDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a boolean from exactly 1 byte, as encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>boolean value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeBooleanObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeBooleanObjDesc</h4> +<pre>public static java.lang.Boolean decodeBooleanObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a Boolean object from exactly 1 byte, as encoded for descending + order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>Boolean object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeFloatDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeFloatDesc</h4> +<pre>public static float decodeFloatDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a float from exactly 4 bytes, as encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>float value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeFloatObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeFloatObjDesc</h4> +<pre>public static java.lang.Float decodeFloatObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a Float object from exactly 4 bytes.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>Float object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeDoubleDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeDoubleDesc</h4> +<pre>public static double decodeDoubleDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a double from exactly 8 bytes, as encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>double value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeDoubleObjDesc(byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeDoubleObjDesc</h4> +<pre>public static java.lang.Double decodeDoubleObjDesc(byte[] src, + int srcOffset) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes a Double object from exactly 8 bytes.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded bytes</dd><dd><code>srcOffset</code> - offset into source array</dd> +<dt><span class="strong">Returns:</span></dt><dd>Double object or null</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decode(byte[], int, java.math.BigInteger[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decode</h4> +<pre>public static int decode(byte[] src, + int srcOffset, + java.math.BigInteger[] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given BigInteger as originally encoded for ascending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded BigInteger is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd><dt><span class="strong">Since:</span></dt> + <dd>1.2</dd></dl> +</li> +</ul> +<a name="decodeDesc(byte[], int, java.math.BigInteger[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeDesc</h4> +<pre>public static int decodeDesc(byte[] src, + int srcOffset, + java.math.BigInteger[] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given BigInteger as originally encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded BigInteger is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd><dt><span class="strong">Since:</span></dt> + <dd>1.2</dd></dl> +</li> +</ul> +<a name="decode(byte[], int, java.math.BigDecimal[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decode</h4> +<pre>public static int decode(byte[] src, + int srcOffset, + java.math.BigDecimal[] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given BigDecimal as originally encoded for ascending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded BigDecimal is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd><dt><span class="strong">Since:</span></dt> + <dd>1.2</dd></dl> +</li> +</ul> +<a name="decodeDesc(byte[], int, java.math.BigDecimal[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeDesc</h4> +<pre>public static int decodeDesc(byte[] src, + int srcOffset, + java.math.BigDecimal[] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given BigDecimal as originally encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded BigDecimal is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd><dt><span class="strong">Since:</span></dt> + <dd>1.2</dd></dl> +</li> +</ul> +<a name="decode(byte[], int, byte[][])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decode</h4> +<pre>public static int decode(byte[] src, + int srcOffset, + byte[][] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given byte array as originally encoded for ascending order. + The decoding stops when any kind of terminator or illegal byte has been + read. The decoded bytes are stored in valueRef.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded byte array is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd></dl> +</li> +</ul> +<a name="decodeDesc(byte[], int, byte[][])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeDesc</h4> +<pre>public static int decodeDesc(byte[] src, + int srcOffset, + byte[][] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given byte array as originally encoded for descending order. + The decoding stops when any kind of terminator or illegal byte has been + read. The decoded bytes are stored in valueRef.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded byte array is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd></dl> +</li> +</ul> +<a name="decodeString(byte[], int, java.lang.String[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeString</h4> +<pre>public static int decodeString(byte[] src, + int srcOffset, + java.lang.String[] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes an encoded string from the given byte array.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded string is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd></dl> +</li> +</ul> +<a name="decodeStringDesc(byte[], int, java.lang.String[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeStringDesc</h4> +<pre>public static int decodeStringDesc(byte[] src, + int srcOffset, + java.lang.String[] valueRef) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes an encoded string from the given byte array as originally + encoded for descending order.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - source of encoded data</dd><dd><code>srcOffset</code> - offset into encoded data</dd><dd><code>valueRef</code> - decoded string is stored in element 0, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd>amount of bytes read from source</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code> - if source data is corrupt</dd></dl> +</li> +</ul> +<a name="decodeSingleDesc(byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeSingleDesc</h4> +<pre>public static byte[] decodeSingleDesc(byte[] src) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleDesc(byte[])"><code>KeyEncoder.encodeSingleDesc(byte[])</code></a>. Always returns a new byte array instance.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeSingleDesc(byte[], int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeSingleDesc</h4> +<pre>public static byte[] decodeSingleDesc(byte[] src, + int prefixPadding, + int suffixPadding) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleDesc(byte[])"><code>KeyEncoder.encodeSingleDesc(byte[])</code></a>. Always returns a new byte array instance.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefixPadding</code> - amount of extra bytes to skip from start of encoded byte array</dd><dd><code>suffixPadding</code> - amount of extra bytes to skip at end of encoded byte array</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeSingleNullableDesc(byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeSingleNullableDesc</h4> +<pre>public static byte[] decodeSingleNullableDesc(byte[] src) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleNullableDesc(byte[])"><code>KeyEncoder.encodeSingleNullableDesc(byte[])</code></a>. Always returns a new byte array + instance.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +<a name="decodeSingleNullableDesc(byte[], int, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>decodeSingleNullableDesc</h4> +<pre>public static byte[] decodeSingleNullableDesc(byte[] src, + int prefixPadding, + int suffixPadding) + throws <a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></pre> +<div class="block">Decodes the given byte array which was encoded by <a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html#encodeSingleNullableDesc(byte[])"><code>KeyEncoder.encodeSingleNullableDesc(byte[])</code></a>. Always returns a new byte array + instance.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefixPadding</code> - amount of extra bytes to skip from start of encoded byte array</dd><dd><code>suffixPadding</code> - amount of extra bytes to skip at end of encoded byte array</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/CorruptEncodingException.html" title="class in com.amazon.carbonado">CorruptEncodingException</a></code></dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/KeyDecoder.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-files/index-1.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../com/amazon/carbonado/raw/GzipCompressor.html" title="class in com.amazon.carbonado.raw"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../com/amazon/carbonado/raw/KeyEncoder.html" title="class in com.amazon.carbonado.raw"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?com/amazon/carbonado/raw/KeyDecoder.html" target="_top">Frames</a></li> +<li><a href="KeyDecoder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2006-2013 <a href="https://github.com/Carbonado/Carbonado">Amazon Technologies, Inc.</a>. All Rights Reserved.</small></p> +</body> +</html> |