Add new attachment processor that uses pre-allocated buffer (#120)
This commit is contained in:
parent
b5823b9dee
commit
973856d299
6 changed files with 424 additions and 2 deletions
|
|
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- `ManualAttachmentProcessor`: a new kind of attachment processor where the caller has to first allocate a buffer large enough for the whole data packet to be written to. It can be created with
|
||||
```processor, err := keyRing.NewManualAttachmentProcessor(estimatedSize, filename, dataBuffer)```.
|
||||
|
||||
### Changed
|
||||
- Updated the x/mobile fork and the build script to work with golang 1.16
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue