Package co.nstant.in.cbor.builder
Class AbstractBuilder<T>
java.lang.Object
co.nstant.in.cbor.builder.AbstractBuilder<T>
- Direct Known Subclasses:
ArrayBuilder
,ByteStringBuilder
,CborBuilder
,MapBuilder
,MapEntryBuilder
,UnicodeStringBuilder
public abstract class AbstractBuilder<T> extends Object
-
Constructor Summary
Constructors Constructor Description AbstractBuilder(T parent)
-
Method Summary
Modifier and Type Method Description protected void
addChunk(DataItem dataItem)
protected DataItem
convert(boolean value)
protected DataItem
convert(byte[] bytes)
protected DataItem
convert(double value)
protected DataItem
convert(float value)
protected DataItem
convert(long value)
protected DataItem
convert(String string)
protected DataItem
convert(BigInteger value)
protected HalfPrecisionFloatDecoder
getHalfPrecisionFloatDecoder(InputStream inputStream)
protected HalfPrecisionFloatEncoder
getHalfPrecisionFloatEncoder(OutputStream outputStream)
protected T
getParent()
protected Tag
tag(long value)