- writeId(hashId: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`): Buffer
-
Parameters
-
hashId: `ch_${string}` | `ct_${string}` | `ok_${string}` | `ak_${string}` | `cm_${string}` | `nm_${string}`
Returns Buffer
Utility function to create and _id type
Returns
Buffer Buffer with ID tag and decoded HASh