Skip to content

Fix(buffer): Expose padding by z.Buffer's APIs and fix test#222

Merged
ahsanbarkati merged 2 commits intomasterfrom
ahsan/padding
Nov 12, 2020
Merged

Fix(buffer): Expose padding by z.Buffer's APIs and fix test#222
ahsanbarkati merged 2 commits intomasterfrom
ahsan/padding

Conversation

@ahsanbarkati
Copy link
Contributor

@ahsanbarkati ahsanbarkati commented Nov 10, 2020

We need to include the padding in the offsets returned by the APIs because we use zero offset as a check for nil nodes.
It also removes the API IncrementOffset() because it was being used only in skiplist and we don't need it anymore.


This change is Reviewable

@ahsanbarkati ahsanbarkati merged commit 3e25d09 into master Nov 12, 2020
@ahsanbarkati ahsanbarkati deleted the ahsan/padding branch November 12, 2020 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants