mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 14:57:06 +00:00
[JS/TS] Modernize TypeScript / JavaScript flatbuffers support (#6095)
This commit is contained in:
4
ts/constants.ts
Normal file
4
ts/constants.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const SIZEOF_SHORT = 2;
|
||||
export const SIZEOF_INT = 4;
|
||||
export const FILE_IDENTIFIER_LENGTH = 4;
|
||||
export const SIZE_PREFIX_LENGTH = 4;
|
||||
Reference in New Issue
Block a user