System::Security::Cryptography::RandomNumberGenerator::GetBytes method
Contents
[
Hide
]RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t>) method
Fills existing array elements with random bytes.
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes)=0
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Bytes array to fill. |
See Also
- Typedef ArrayPtr
- Class RandomNumberGenerator
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t>, int, int) method
Fills existing array slice with random bytes.
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes, int offset, int count)
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Bytes array to fill slice of. |
offset | int | Slice beginning index. |
count | int | Slice size. |
See Also
- Typedef ArrayPtr
- Class RandomNumberGenerator
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t>) method
Fills existing array view elements with random bytes.
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes)
Parameter | Type | Description |
---|---|---|
bytes | System::Details::ArrayView<uint8_t> | Bytes array view to fill. |
See Also
- Class RandomNumberGenerator
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t>, int, int) method
Fills existing array view slice with random bytes.
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes, int offset, int count)
Parameter | Type | Description |
---|---|---|
bytes | System::Details::ArrayView<uint8_t> | Bytes array view to fill slice of. |
offset | int | Slice beginning index. |
count | int | Slice size. |
See Also
- Class RandomNumberGenerator
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N>&) method
Fills existing stack array elements with random bytes.
template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes)
Parameter | Type | Description |
---|---|---|
bytes | System::Details::StackArray<uint8_t, N>& | Bytes stack array to fill. |
See Also
- Class RandomNumberGenerator
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++
RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N>&, int, int) method
Fills existing stack array slice with random bytes.
template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes, int offset, int count)
Parameter | Type | Description |
---|---|---|
bytes | System::Details::StackArray<uint8_t, N>& | Bytes stack array to fill slice of. |
offset | int | Slice beginning index. |
count | int | Slice size. |
See Also
- Class RandomNumberGenerator
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++