Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All storage to be opened without discoveryKey #13

Merged
merged 4 commits into from
Jul 10, 2024
Merged

Conversation

chm-diederichs
Copy link
Contributor

No description provided.

index.js Outdated
@@ -588,7 +599,7 @@ function encodeDataIndex (pointer, type, index) {

function encodeUserDataIndex (pointer, type, key) {
const end = 128 + key.length
const state = { start: 0, end, buffer: Buffer.alloc(end) }
const state = { start: 0, end, buffer: b4a.alloc(end) }
Copy link
Contributor

Choose a reason for hiding this comment

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

allocUnsafe is safe here

@chm-diederichs chm-diederichs merged commit 5a5aa4e into main Jul 10, 2024
3 checks passed
@chm-diederichs chm-diederichs deleted the default-core2 branch July 10, 2024 14:38
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