Permalink
Switch branches/tags
Nothing to show
Commits on Mar 22, 2017
  1. version bump

    xdenser committed Mar 22, 2017
Commits on Mar 21, 2017
  1. Merge pull request #29 from ElliotChong/patch-1

    xdenser committed Mar 21, 2017
    Prevent data from leaking into a new Buffer
  2. Prevent data from leaking into a new Buffer

    ElliotChong committed Mar 21, 2017
    Fixes a leak per the Node.js docs @ https://nodejs.org/api/buffer.html#buffer_new_buffer_size
    
    Ideally Buffer.alloc() would be utilized in place of new Buffer(); however, I'm not sure which version of Node introduced that API so for backwards compatibility sake I added an API check and fallback to `buf.fill(0)` for older Node versions.
Commits on Jan 23, 2017
  1. Update index.js

    xdenser committed Jan 23, 2017
Commits on Jul 24, 2016
  1. version bump

    xdenser committed Jul 24, 2016
Commits on Jul 15, 2016
  1. fix #25

    xdenser committed Jul 15, 2016
Commits on Mar 13, 2016
  1. version bump

    xdenser committed Mar 13, 2016
  2. fix #23

    xdenser committed Mar 13, 2016
Commits on Mar 12, 2016
  1. Merge pull request #22 from purell/master

    xdenser committed Mar 12, 2016
    Improvement
Commits on Mar 10, 2016
  1. fix charnt by charsnt in Sample

    purell committed Mar 10, 2016
  2. Improvement

    purell committed Mar 10, 2016
    Support float and double
    
    Assign a buffer to the struct revised to prevent invalid buffer
    
    Create a new variant of char (charsnt) that force string to be null
    terminated and remaining buffer part set to \0.
    
    Update README
    
    Update sample
Commits on Jul 14, 2014
Commits on Jul 13, 2014
  1. Merge pull request #17 from silvinci/master

    xdenser committed Jul 13, 2014
    Fix samples and readme
  2. Update perfTest.js

    buschtoens committed Jul 13, 2014
  3. Update sample.js

    buschtoens committed Jul 13, 2014
  4. Update README.md

    buschtoens committed Jul 13, 2014
  5. Merge pull request #16 from silvinci/master

    xdenser committed Jul 13, 2014
    Make `Struct` the default export
  6. version bump

    buschtoens committed Jul 13, 2014
Commits on Jun 3, 2014
Commits on May 23, 2014
Commits on Feb 26, 2014
  1. Merge pull request #10 from toksea/master

    xdenser committed Feb 26, 2014
    fix ''Struct.chars() not support encoding'' issue (issue#9)
Commits on Sep 29, 2013
  1. version bump

    xdenser committed Sep 29, 2013
  2. remove comments

    xdenser committed Sep 29, 2013
Commits on Sep 5, 2013
  1. reformatting

    xdenser committed Sep 5, 2013
  2. more features added

    zh99998 committed Sep 5, 2013
    set array field support
    set struct field support
    smarter set method (object / embedded object / buffer)
    set charsfield append a "\0"
Commits on Sep 1, 2013
  1. updated readme

    xdenser committed Sep 1, 2013
  2. use Object.defineProperty

    xdenser committed Sep 1, 2013
Commits on Aug 31, 2013
Commits on Jun 5, 2013
  1. Merge pull request #5 from jeffharrell/master

    xdenser committed Jun 5, 2013
    Removing JavaScript debugger statements