SourceOffset
func SourceOffset(blockIndex uint64) (uint64, error)
SourceOffset returns blockIndex*BLOCK_SIZE after checking overflow.
Parameters
| Name | Type | Description |
|---|---|---|
blockIndex | uint64 | Parameter blockIndex of SourceOffset. |
Returns
(uint64, error)
Source
This page is generated from SDK source metadata and the translation catalog.