Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Implement ReadBytesToToken() #71

@priverop

Description

@priverop

It would be helpful to have a method in DataReader to read bytes until a token/byte is found. So we can avoid to do this on our programs:

long start = reader.Stream.Position;

while (reader.ReadInt32() != 0){}

long end = reader.Stream.Position - 4;

reader.Stream.Position = start;

It would be also good to have ReadStringToToken(), as it is implemented in TextReader.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions