git.iko.soy/rowtype-yoga/purescript-arraybuffer-builder
on v2.0.0 help sign in
23 lines 689 B history raw
1# Changelog
3## v2.0.0 2021-07-19
5Build for PureScript v0.14.
7### Breaking Changes
9Previously we could only add `ArrayBuffer`s to the `Builder`,
10and now we can add either `ArrayBuffer` or `DataView` to the `Builder`,
11because we have added a `Bytes` type which distinguishes between `ArrayBuffer`
12and `DataView`. Because of this, we can avoid making an
13intermediate `ArrayBuffer` copy when adding a slice of an existing `ArrayBuffer`.
15Factored out the `Internal` module and added documentation.
17## v1.1.0 2020-09-10
19Add and export
21* `cons :: ArrayBuffer -> Builder -> Builder`
22* `subBuilder :: forall m. (MonadEffect m) => PutM m Unit -> PutM m Builder`
23* `length :: Builder -> Int`