Package com.marklogic.io
Class Decoder
- java.lang.Object
-
- com.marklogic.io.Decoder
-
public class Decoder extends Object
Decoder used to decode compressed tree data.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(int[] array, int count)intdecode32bits()longdecode64bits()doubledecodeDouble()intdecodeUnary()intdecodeUnsigned()intdecodeUnsigned(int n)longdecodeUnsignedLong()voidrealign()
-
-
-
Constructor Detail
-
Decoder
public Decoder(DataInput in)
-
-
Method Detail
-
decodeUnsignedLong
public long decodeUnsignedLong() throws IOException- Throws:
IOException
-
decode64bits
public long decode64bits() throws IOException- Throws:
IOException
-
decode32bits
public int decode32bits() throws IOException- Throws:
IOException
-
decodeDouble
public double decodeDouble() throws IOException- Throws:
IOException
-
realign
public void realign()
-
decode
public void decode(int[] array, int count) throws IOException- Throws:
IOException
-
decodeUnary
public int decodeUnary() throws IOException- Throws:
IOException
-
decodeUnsigned
public int decodeUnsigned() throws IOException- Throws:
IOException
-
decodeUnsigned
public int decodeUnsigned(int n) throws IOException- Throws:
IOException
-
-