diff --git a/bytebuffer/bytebuffer.d.ts b/bytebuffer/bytebuffer.d.ts index e87fb710d8..a58509e4c6 100644 --- a/bytebuffer/bytebuffer.d.ts +++ b/bytebuffer/bytebuffer.d.ts @@ -23,6 +23,11 @@ declare class ByteBuffer */ static DEFAULT_CAPACITY: number; + /** + * Default endianess of false for big endian. + */ + static DEFAULT_ENDIAN: boolean; + /** * Default no assertions flag of false. */ @@ -96,7 +101,7 @@ declare class ByteBuffer /** * Allocates a new ByteBuffer backed by a buffer of the specified capacity. */ - static allocate( capacity?: number, littleEndian?: number, noAssert?: boolean ): ByteBuffer; + static allocate( capacity?: number, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer; /** * Decodes a base64 encoded string to binary like window.atob does.