Skip to content

v0.9.0: Getting close to v1.0.0

Choose a tag to compare

@Jumballaya Jumballaya released this 31 Mar 19:54
· 38 commits to master since this release

A lot was added:

the following methods:

slice: creates a new BufferWrap that is a slice of the parent BufferWrap
move: moves a struct from one location into another
insert: insert a struct or an entire BufferWrap at an index
copyInto: copies the data from the BufferWrap to an ArrayBuffer or another BufferWrap
iterate: creates a generator that iterates through the structs
attributeStride: returns the byte size of a specific attribute

The following attributes:

byteLength: get the length of the underlying DataView
stride: get the stride of the struct