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

另见