## Decimal::GetBytes method


[Convert](../../convert/) the specified [Decimal](../) value to an array of bytes.

```cpp
static void System::Decimal::GetBytes(const Decimal &value, const System::ArrayPtr<uint8_t> &buffer)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | const Decimal\& | 要转换的 [Decimal](../) 值 |
| buffer | const System::ArrayPtr\<uint8_t\>\& | 输出参数，如果转换成功，则在方法返回时包含转换结果。 |

## 另见

* Class [Decimal](../)
* Typedef [ArrayPtr](../../arrayptr/)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
