Browse Source

* Correct name of Buffer class

michael 5 years ago
parent
commit
10c84c0875
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/nodejs.pas

+ 1 - 1
packages/rtl/nodejs.pas

@@ -49,7 +49,7 @@ type
 
   { TNJSBuffer }
 
-  TNJSBuffer = class external name 'buffer'
+  TNJSBuffer = class external name 'Buffer'
   public
     class function alloc(Size: NativeInt): TJSArrayBuffer;
     class function alloc(Size: NativeInt; const Fill: JSValue): TJSArrayBuffer;