Skip to content
#

rom-hacking

Here are 78 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

Improve this page

Add a description, image, and links to the rom-hacking 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 rom-hacking topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.