System::Decimal::GetBytes method

Decimal::GetBytes method

Convert the specified Decimal value to an array of bytes.

static void System::Decimal::GetBytes(const Decimal &value, const System::ArrayPtr<uint8_t> &buffer)
ParameterTypeDescription
valueconst Decimal&The Decimal value to convert
bufferconst System::ArrayPtr<uint8_t>&The output parameter that, if the conversion succeeds, contains the result of conversion when the method returns.

See Also