System::BitConverter::ToInt16 method
Contents
[
Hide
]BitConverter::ToInt16(const System::ArrayPtr<uint8_t>&, int) method
Converts two bytes from the specified array starting at the specified index to 16-bit integer value.
static int16_t System::BitConverter::ToInt16(const System::ArrayPtr<uint8_t> &value, int startIndex)
Parameter | Type | Description |
---|---|---|
value | const System::ArrayPtr<uint8_t>& | Array that contains bytes to convert |
startIndex | int | Index in the array at which to start taking bytes for conversion |
ReturnValue
16-bit integer value resulting from conversion
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::ToInt16(const System::Details::ArrayView<uint8_t>&, int) method
Converts two bytes from the specified array starting at the specified index to 16-bit integer value.
static int16_t System::BitConverter::ToInt16(const System::Details::ArrayView<uint8_t> &value, int startIndex)
Parameter | Type | Description |
---|---|---|
value | const System::Details::ArrayView<uint8_t>& | ArrayView that contains bytes to convert |
startIndex | int | Index in the array at which to start taking bytes for conversion |
ReturnValue
16-bit integer value resulting from conversion
See Also
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++