Skip to main content

SourceOffset

func SourceOffset(blockIndex uint64) (uint64, error)

SourceOffset returns blockIndex*BLOCK_SIZE after checking overflow.

Parameters

NameTypeDescription
blockIndexuint64Parameter blockIndex of SourceOffset.

Returns

(uint64, error)

Source

This page is generated from SDK source metadata and the translation catalog.