getValueAsBytes

Gets the value as a byte array. This method should be used for tags of type TYPE_UNDEFINED or TYPE_UNSIGNED_BYTE .

Return

the value as a byte array, or null if the tag's value does not exist or cannot be converted to a byte array.

open fun getValueAsBytes(): Array<Byte>