Skip to content

bolt-lite: add Bolt::from_bytes constructor#3

Open
jkjk-ant wants to merge 1 commit into
yorelog:devfrom
jkjk-ant:jkjk/from-bytes
Open

bolt-lite: add Bolt::from_bytes constructor#3
jkjk-ant wants to merge 1 commit into
yorelog:devfrom
jkjk-ant:jkjk/from-bytes

Conversation

@jkjk-ant
Copy link
Copy Markdown

@jkjk-ant jkjk-ant commented Apr 9, 2026

Adds `Bolt::from_bytes(Vec)` so callers that already have the file contents in memory don't need to round-trip through a temp file. `open_ro` now delegates to it. No behavior change for existing callers; one new test.

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.

1 participant