Fixed the signature of concat, that takes as input an array

This commit is contained in:
dencap
2015-11-20 15:01:35 +01:00
parent bf9c2fe214
commit 1d23a699ba
+1 -1
View File
@@ -131,7 +131,7 @@ declare class ByteBuffer
/**
* Concatenates multiple ByteBuffers into one.
*/
static concat( buffers: Array<ByteBuffer> | ArrayBuffer | Uint8Array | string, encoding?: string | boolean, litteEndian?: boolean, noAssert?: boolean ): ByteBuffer;
static concat( buffers: Array<ByteBuffer | ArrayBuffer | Uint8Array | string>, encoding?: string | boolean, litteEndian?: boolean, noAssert?: boolean ): ByteBuffer;
/**
* Decodes a base64 encoded string to a ByteBuffer.