GetBytes()

Decimal::GetBytes(const Decimal&, const System::ArrayPtr<uint8_t>&) 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)

Arguments

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