| Modifier and Type | Method and Description |
|---|---|
CborArray |
CborArray.copy()
Creates an independent, deep copy of this object.
|
static CborArray |
CborArray.create()
Creates an untagged empty
CborArray. |
static CborArray |
CborArray.create(int tag)
Creates a tagged empty
CborArray. |
static CborArray |
CborArray.create(Iterable<CborObject> objs)
Creates an untagged
CborArray populated with the given CborObjects. |
static CborArray |
CborArray.create(Iterable<CborObject> objs,
int tag)
Creates a tagged
CborArray populated with the given CborObjects. |
static CborArray |
CborArray.create(Iterable<CborObject> objs,
int tag,
boolean isIndefiniteLength)
Creates a tagged
CborArray populated with the given CborObjects. |
static CborArray |
CborArray.createFromJavaObject(boolean[] obj)
Converts a boolean array to a
CborArray of CborSimple objects. |
static CborArray |
CborArray.createFromJavaObject(double[] obj)
|
static CborArray |
CborArray.createFromJavaObject(float[] obj)
|
static CborArray |
CborArray.createFromJavaObject(int[] obj)
Converts an integer array to a
CborArray of CborInteger objects. |
static CborArray |
CborArray.createFromJavaObject(Iterable<?> obj)
|
static CborArray |
CborArray.createFromJavaObject(long[] obj)
Converts a long array to a
CborArray of CborInteger objects. |
static CborArray |
CborArray.createFromJavaObject(Object[] obj)
Converts an object array to an untagged
CborArray. |
static CborArray |
CborArray.createFromJavaObject(short[] obj)
Converts a short array to a
CborArray of CborInteger objects. |
static CborArray |
CborArray.createFromJSONArray(org.json.JSONArray jsonArray)
Creates a
CborArray from a given JSONArray. |
Copyright © 2018–2023. All rights reserved.