public class FLEncoder extends C4NativePeer
Constructor and Description |
---|
FLEncoder() |
FLEncoder(long handle) |
FLEncoder(long handle,
boolean managed) |
Modifier and Type | Method and Description |
---|---|
boolean |
beginArray(long reserve) |
boolean |
beginDict(long reserve) |
boolean |
endArray() |
boolean |
endDict() |
byte[] |
finish() |
FLSliceResult |
finish2() |
void |
free() |
Object |
getExtraInfo() |
FLSliceResult |
managedFinish2() |
void |
reset() |
void |
setExtraInfo(Object info) |
boolean |
write(List<?> list) |
boolean |
write(Map<String,Object> map) |
boolean |
writeData(byte[] value) |
boolean |
writeKey(String slice) |
boolean |
writeNull() |
boolean |
writeString(String value) |
boolean |
writeValue(Object value) |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSet
byteValue, shortValue
public FLEncoder()
public FLEncoder(long handle)
public FLEncoder(long handle, boolean managed)
public void free()
public boolean writeString(String value)
public boolean writeData(byte[] value)
public boolean beginDict(long reserve)
public boolean endDict()
public boolean beginArray(long reserve)
public boolean endArray()
public boolean writeKey(String slice)
public boolean writeValue(Object value)
public boolean writeNull()
public boolean write(List<?> list)
public byte[] finish() throws LiteCoreException
LiteCoreException
public FLSliceResult finish2() throws LiteCoreException
LiteCoreException
public FLSliceResult managedFinish2() throws LiteCoreException
LiteCoreException
public Object getExtraInfo()
public void setExtraInfo(Object info)
public void reset()