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

getBytes

protected fun getBytes(buf: kotlin.Array<byte>): void

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

protected fun getBytes(buf: kotlin.Array<byte>, offset: int, length: int): void

Gets the #TYPE_UNDEFINED or #TYPE_UNSIGNED_BYTE data.

Parameters

buf - kotlin.Array<byte>: 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.