System::Buffer::SetByte method

Buffer::SetByte(const SharedPtr<Array<T>>&, int, uint8_t) method

Interprets the specified typed array as a raw byte array and sets the specified byte value at specified byte offset.

template<typename T> static void System::Buffer::SetByte(const SharedPtr<Array<T>> &array, int index, uint8_t value)
ParameterDescription
TThe type of elements of the array
ParameterTypeDescription
arrayconst SharedPtr<Array<T>>&The target array
indexintZero-based offset of the byte to set
valueuint8_tThe byte value to set

See Also

Buffer::SetByte(const System::Details::ArrayView<T>&, int, uint8_t) method

Interprets the specified typed array as a raw byte array and sets the specified byte value at specified byte offset.

template<typename T> static void System::Buffer::SetByte(const System::Details::ArrayView<T> &array, int index, uint8_t value)
ParameterDescription
TThe type of elements of the array
ParameterTypeDescription
arrayconst System::Details::ArrayView<T>&The target array view
indexintZero-based offset of the byte to set
valueuint8_tThe byte value to set

See Also

Buffer::SetByte(const System::Details::StackArray<T, N>&, int, uint8_t) method

Interprets the specified typed array as a raw byte array and sets the specified byte value at specified byte offset.

template<typename T,std::size_t> static void System::Buffer::SetByte(const System::Details::StackArray<T, N> &array, int index, uint8_t value)
ParameterDescription
TThe type of elements of the array
NThe size of the stack array
ParameterTypeDescription
arrayconst System::Details::StackArray<T, N>&The target stack array
indexintZero-based offset of the byte to set
valueuint8_tThe byte value to set

See Also