Skip to content

Releases: tgpholly/bufferStuff

1.4.2

07 Nov 00:39
b7a482d
Compare
Choose a tag to compare
actually add the new public methods to the interfaces

1.4.1

07 Nov 00:14
c1e43e2
Compare
Choose a tag to compare
allow getting the writer offset and the length of both readers and wr…

1.4.0

07 Nov 00:05
63a3e5c
Compare
Choose a tag to compare
Allow getting of the read offset (needed for mc-beta-server)

1.3.4

24 Oct 11:47
Compare
Choose a tag to compare

This release fixes issues with browser usages (errors in normal use cases).

1.3.3

24 Oct 11:25
Compare
Choose a tag to compare

This release removes some debug information that I accidentally left in BufferShim with the last release.

1.3.2

24 Oct 11:15
Compare
Choose a tag to compare

This release adds support for using bufferStuff in the browser.
As a result of these efforts, bufferStuff now contains it's own implementation of Node's Buffer that is used when Buffer is not available.
This can be used in the browser or on node by calling getBufferClass() and then using it as normal as if you were using Buffer.

For example, the following:

const buffer = Buffer.alloc(1);

Would become:

const buffer = getBufferClass().alloc(1);

Other than that usage should be 1:1 with Node's Buffer.

1.3.0

22 Jun 10:33
Compare
Choose a tag to compare
whoops

1.2.1

15 May 08:53
Compare
Choose a tag to compare
revert last

1.1.2

12 May 13:18
Compare
Choose a tag to compare
1.1.2

1.1.0

12 May 13:05
Compare
Choose a tag to compare
Move Endian enum into index.ts