#ifndef V8_OBJECTS_SIMD_H_
#define V8_OBJECTS_SIMD_H_
#include <cstdint>
#include "include/v8-internal.h"
#include "src/objects/string.h"
namespace v8 {
namespace internal {
uintptr_t ArrayIndexOfIncludesSmiOrObject(Address array_start,
uintptr_t array_len,
uintptr_t from_index,
Address search_element);
uintptr_t ArrayIndexOfIncludesDouble(Address array_start, uintptr_t array_len,
uintptr_t from_index,
Address search_element);
Tagged<Object> Uint8ArrayToHex(const char* bytes, size_t length, bool is_shared,
DirectHandle<SeqOneByteString> string_output);
template <typename T>
bool ArrayBufferFromHex(const base::Vector<T>& input_vector, bool is_shared,
uint8_t* buffer, size_t output_length);
}
}
#endif