Skip to content

Instantly share code, notes, and snippets.

@ocoanet
Created April 13, 2018 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ocoanet/869d441ec1205a8d3c2281ee66d96025 to your computer and use it in GitHub Desktop.
Save ocoanet/869d441ec1205a8d3c2281ee66d96025 to your computer and use it in GitHub Desktop.
public T this[long sequence]
{
get
{
var index = _bufferPad + (int)(sequence & _indexMask);
return (T)_entries[index];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment