Skip to content

v0.14.0

Compare
Choose a tag to compare
@awnumar awnumar released this 02 Apr 22:07
· 279 commits to master since this release
2c77d7d

This release adds support for extra datatypes, i.e. alternative ways of representing the data stored in a LockedBuffer. This is accomplished via the following new methods:

func (b *LockedBuffer) Uint8() ([]uint8, error)
func (b *LockedBuffer) Uint16() ([]uint16, error)
func (b *LockedBuffer) Uint32() ([]uint32, error)
func (b *LockedBuffer) Uint64() ([]uint64, error)

func (b *LockedBuffer) Int8() ([]int8, error)
func (b *LockedBuffer) Int16() ([]int16, error)
func (b *LockedBuffer) Int32() ([]int32, error)
func (b *LockedBuffer) Int64() ([]int64, error)