Searched refs:recordBytes (Results 1 – 2 of 2) sorted by relevance
126 public static PlmnActRecord[] getRecords(byte[] recordBytes) { in getRecords() argument127 if (recordBytes == null || recordBytes.length == 0 in getRecords()128 || recordBytes.length % ENCODED_LENGTH != 0) { in getRecords()130 + ((recordBytes != null) ? Arrays.toString(recordBytes) : null)); in getRecords()133 int numRecords = recordBytes.length / ENCODED_LENGTH; in getRecords()139 records[i] = new PlmnActRecord(recordBytes, i * ENCODED_LENGTH); in getRecords()
358 byte[] recordBytes = new byte[uriBytes.length + 1]; in createUri()359 recordBytes[0] = prefix; in createUri()360 System.arraycopy(uriBytes, 0, recordBytes, 1, uriBytes.length); in createUri()361 return new NdefRecord(TNF_WELL_KNOWN, RTD_URI, null, recordBytes); in createUri()