On 17 Mar 2014, at 02:00, Sam Rijs <notifications@github.com> wrote:

> In Nodelike/NLBuffer.m:
> 
> >      
> > -    internal[@"byteLength"] = ^(NSString *string) {
> > +    internal[@"byteLength"] = ^(NSString *string, NSString * encoding) {
> > +        if ([encoding isEqualToString:@"base64"]) {
> > +                NSData * d = base64Decode(string);
> 
> Is it really necessary to decode the data to retrieve the length? The Node.js guys seem to have a nice function for this.

Of course, that’s much better...

> 
> —
> Reply to this email directly or view it on GitHub.
>