System::Decimal::GetBytes 方法

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)
ParameterType描述
valueconst Decimal&要转换的 Decimal
缓冲区const System::ArrayPtr<uint8_t>&输出参数,如果转换成功,在方法返回时包含转换结果。

另见