From fa25f96f30f3bb605e5ee3368c6fe0c6ea6ef4ad Mon Sep 17 00:00:00 2001 From: Jerry Okolo Date: Mon, 16 Oct 2023 12:27:48 +0100 Subject: [PATCH] Add BigInt to Bytes method to Conversion table --- website/pages/en/developing/assemblyscript-api.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/pages/en/developing/assemblyscript-api.mdx b/website/pages/en/developing/assemblyscript-api.mdx index b8d735f029d6..85ebcb8120dc 100644 --- a/website/pages/en/developing/assemblyscript-api.mdx +++ b/website/pages/en/developing/assemblyscript-api.mdx @@ -725,6 +725,7 @@ When the type of a value is certain, it can be converted to a [built-in type](#b | BigInt | BigDecimal | s.toBigDecimal() | | BigInt | String (hexadecimal) | s.toHexString() or s.toHex() | | BigInt | String (unicode) | s.toString() | +| BigInt | Bytes | s.fromBigInt() | | BigInt | i32 | s.toI32() | | Boolean | Boolean | none | | Bytes (signed) | BigInt | BigInt.fromSignedBytes(s) |