Skip to content

Conversation

@JKamsker
Copy link
Collaborator

@JKamsker JKamsker commented Oct 1, 2025

Summary

  • add Memory<byte> and IBufferWriter<byte> serialization overloads in BsonSerializer to reuse caller-provided buffers without extra allocations
  • verify round-tripping via ArrayBufferWriter<byte> and pooled buffers with new integration tests
  • document the API in the README and add the System.Memory dependency needed for netstandard builds

Testing

  • dotnet build LiteDB.sln
  • dotnet test LiteDB.Tests/LiteDB.Tests.csproj -f net8.0

https://chatgpt.com/codex/tasks/task_e_68cfd6f5cd78832ab3a6d54ea97f0040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants