public final class SimpleIntEncoder extends IntEncoder
IntEncoder
, writing an integer as 4 raw bytes. *Constructor and Description |
---|
SimpleIntEncoder() |
Modifier and Type | Method and Description |
---|---|
IntDecoder |
createMatchingDecoder()
Returns an
IntDecoder which can decode the values that were encoded
with this encoder. |
void |
encode(IntsRef values,
BytesRef buf)
Encodes the values to the given buffer.
|
String |
toString() |
public void encode(IntsRef values, BytesRef buf)
IntEncoder
encode
in class IntEncoder
public IntDecoder createMatchingDecoder()
IntEncoder
IntDecoder
which can decode the values that were encoded
with this encoder.createMatchingDecoder
in class IntEncoder
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.