Searched refs:dataItem (Results 1 – 1 of 1) sorted by relevance
96 for(DataItem dataItem : dataItems) { in canonicalizeCbor()98 encoder.encode(dataItem); in canonicalizeCbor()110 for (DataItem dataItem : dataItems) { in cborPrettyPrint()114 cborPrettyPrintDataItem(sb, 0, dataItem); in cborPrettyPrint()135 static void cborPrettyPrintDataItem(StringBuilder sb, int indent, DataItem dataItem) { in cborPrettyPrintDataItem() argument142 if (dataItem.hasTag()) { in cborPrettyPrintDataItem()143 sb.append(String.format("tag %d ", dataItem.getTag().getValue())); in cborPrettyPrintDataItem()146 switch (dataItem.getMajorType()) { in cborPrettyPrintDataItem()153 BigInteger value = ((UnsignedInteger) dataItem).getValue(); in cborPrettyPrintDataItem()159 BigInteger value = ((NegativeInteger) dataItem).getValue(); in cborPrettyPrintDataItem()[all …]