Implementing Seek, Convention for Out of Bounds

I have a Chunk struct and implement Seek for it.

I return some Error already like this. However, I wondered if there was a convenient way to do this, especially considering I will use this Seek implementation in for loop.

Thanks in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.