Permalink
Browse files

Merge branch 'morebits' of https://github.com/carsonmcdonald/node-buf…

…ferlist into carson
  • Loading branch information...
2 parents 4631b3f + f3679d2 commit bd27fb6b880cb1fbf04fbf056801098b2a861bb1 @substack committed Apr 23, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 binary.js
View
@@ -303,6 +303,12 @@ function Binary(buffer) {
);
}
+ this.getWord24be = function () {
+ return get.call(
+ this, { into : arguments, bytes : 3, endian : 'big' }
+ );
+ };
+
this.getWord32be = function () {
return get.call(
this, { into : arguments, bytes : 4, endian : 'big' }

0 comments on commit bd27fb6

Please sign in to comment.