Lines Matching refs:Array
151 template <typename T> Error writeArray(ArrayRef<T> Array) {
152 if (Array.empty())
154 if (Array.size() > UINT32_MAX / sizeof(T))
159 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()),
160 Array.size() * sizeof(T)));
163 /// Writes all data from the array \p Array to the underlying stream.
168 Error writeArray(VarStreamArray<T, U> Array) {
169 return writeStreamRef(Array.getUnderlyingStream());
172 /// Writes all elements from the array \p Array to the underlying stream.
176 template <typename T> Error writeArray(FixedStreamArray<T> Array) {
177 return writeStreamRef(Array.getUnderlyingStream());