ly.img.android.pesdk.backend.exif / ExifTagInfo / getBytes

getBytes

protected open fun getBytes(buf: ByteArray!): Unit

Equivalent to getBytes(buffer, 0, buffer.length).

protected open fun getBytes(buf: ByteArray!, offset: Int, length: Int): Unit

Gets the #TYPE_UNDEFINED or #TYPE_UNSIGNED_BYTE data.

Parameters

buf - ByteArray!: the byte array in which to store the bytes read.

offset - Int: the initial position in buffer to store the bytes.

length - Int: the maximum number of bytes to store in buffer. If length > component count, only the valid bytes will be stored.

Exceptions

IllegalArgumentException - If the type is NOT #TYPE_UNDEFINED or #TYPE_UNSIGNED_BYTE.