Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Add UrlTokenEncode / UrlTokenDecode. #136

Merged
merged 0 commits into from
Oct 14, 2014
Merged

Conversation

GrabYourPitchforks
Copy link
Contributor

This is to resolve #55.
/cc @Tratcher

// b) offset + count <= bufferLength.
// The JITter can't optimize these checks away since they could throw.
// TODO: Use ArgumentException instead of OverflowException.
var unused = checked((uint)bufferLength - (uint)offset - (uint)count);
Copy link
Member

Choose a reason for hiding this comment

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

Hilarious, but you might as well add the ArgumentExceptions now.

@Tratcher
Copy link
Member

:shipit:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants