-
Notifications
You must be signed in to change notification settings - Fork 4
/
ranges.cljs
24 lines (21 loc) · 1.06 KB
/
ranges.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(ns fress.impl.ranges)
(def ^:const PACKED_1_START 1)
(def ^:const PACKED_1_END 64)
(def ^:const PACKED_2_START (js/parseInt "0xFFFFFFFFFFFFF000"))
(def ^:const PACKED_2_END (js/parseInt "0x0000000000001000"))
(def ^:const PACKED_3_START (js/parseInt "0xFFFFFFFFFFF80000"))
(def ^:const PACKED_3_END (js/parseInt "0x0000000000080000"))
(def ^:const PACKED_4_START (js/parseInt "0xFFFFFFFFFE000000"))
(def ^:const PACKED_4_END (js/parseInt "0x0000000002000000"))
(def ^:const PACKED_5_START (js/parseInt "0xFFFFFFFE00000000"))
(def ^:const PACKED_5_END (js/parseInt "0x0000000200000000"))
(def ^:const PACKED_6_START (js/parseInt "0xFFFFFE0000000000"))
(def ^:const PACKED_6_END (js/parseInt "0x0000020000000000"))
(def ^:const PACKED_7_START (js/parseInt "0xFFFE000000000000"))
(def ^:const PACKED_7_END (js/parseInt "0x0002000000000000"))
(def ^:const PRIORITY_CACHE_PACKED_END 32)
(def ^:const STRUCT_CACHE_PACKED_END 16)
(def ^:const BYTES_PACKED_LENGTH_END 8)
(def ^:const STRING_PACKED_LENGTH_END 8)
(def ^:const LIST_PACKED_LENGTH_END 8)
(def ^:const BYTE_CHUNK_SIZE 65535)