Skip to content
#

romhacking

Here are 200 public repositories matching this topic...

Yarhl
pleonex
pleonex commented Sep 21, 2020

Similar to how Span works, we could add a method to the DataStream class to easily create a substream. We could name it Slice and it would equivalent to call the constructor with the given offset and size. This may simplify APIs.

var parent = new DataStream();
var sub = parent.Slice(4, 0x10);

Additional context
We could review the other methods that Span provides so

enhancement good first issue

Improve this page

Add a description, image, and links to the romhacking topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the romhacking topic, visit your repo's landing page and select "manage topics."

Learn more