Lines Matching defs:data
30 * used to encapsulate typed data. It is specified by the NFC Forum,
34 * typed data, such as MIME-type media, a URI, or a custom
46 * binary data, or {@link #NdefMessage(NdefRecord[])} to
69 * the length of the input data.<p>
72 * Once the input data has been parsed to one or more logical
88 * It is safe to re-use the data byte array after construction:
91 * @param data raw bytes to parse
92 * @throws FormatException if the data cannot be parsed
94 public NdefMessage(byte[] data) throws FormatException {
95 if (data == null) throw new NullPointerException("data is null");
96 ByteBuffer buffer = ByteBuffer.wrap(data);
101 throw new FormatException("trailing data");