`toSwift()` methods are not validating the array length before copies a region of a primitive array into a buffer.