Skip to content

Commit

Permalink
make encoding optional of buffer creation
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudshift committed Feb 26, 2012
1 parent b333c5c commit de5ec3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Node.hx
Expand Up @@ -94,7 +94,7 @@ typedef NodeQueryString = {

@:native("Buffer") extern class NodeBuffer implements ArrayAccess<Int> {

@:overload(function(str:String,enc:String):Void {})
@:overload(function(str:String,?enc:String):Void {})
@:overload(function(arr:Array<Int>):Void {})
function new(size:Int):Void;

Expand Down

0 comments on commit de5ec3f

Please sign in to comment.