Skip to content

Add additional read methods to DataStream to allow further customization of DataReader behavior#512

Merged
wtfsck merged 2 commits into0xd4d:masterfrom
ElektroKill:datastream-updates
Jul 11, 2023
Merged

Add additional read methods to DataStream to allow further customization of DataReader behavior#512
wtfsck merged 2 commits into0xd4d:masterfrom
ElektroKill:datastream-updates

Conversation

@ElektroKill
Copy link
Contributor

@ElektroKill ElektroKill commented Jul 9, 2023

Added methods for signed integers, bool, char, and decimal.

The methods for bool and char contain a note in the documentation about the length of the data that should be read.
The code for reading a decimal was modified to remove an unnecessary array allocation every time a decimal was being read.

fixes #509

@wtfsck wtfsck merged commit 2afeaee into 0xd4d:master Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend DataStream with additional methods for signed integers and decimal

2 participants