Skip to content

Conversation

scythianfuego
Copy link

UInt8 read and write

UInt8 read and write
@@ -69,6 +74,12 @@ module.exports = function(ref, int24, logger) {
this.read_offset += 1;
return result;
};

OffsetBuffer.prototype.readUInt8() = function() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"readUInt8() = " is not valid. You maybe wanted just "readUInt = " ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. It should pass the provided unit tests, so try to get it to that state first.

@scythianfuego
Copy link
Author

Ok, i've corrected it to pass tests and added tests for new functions

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.

2 participants