SceneGate / Yarhl

Framework for the implementation of format converters like game assets or media files
https://scenegate.github.io/Yarhl/
MIT License
60 stars 10 forks source link

✨ Implement slice for DataStream #204

Closed pleonex closed 9 months ago

pleonex commented 9 months ago

Implement a new API Slice that helps to create sub stream from a DataStream. This PR finished the work from #150

This PR closes #143

Quality check list

Acceptance criteria

Follow-up work

None

Example

stream.Slice(long start)
stream.Slice(long start, long length)