File Coverage

blib/lib/Sereal/Encoder/Constants.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 14 100.0


line stmt bran cond sub pod time code
1             package Sereal::Encoder::Constants;
2 84     84   7772256 use strict;
  84         998  
  84         2402  
3 84     84   459 use warnings;
  84         187  
  84         24731  
4             require Exporter;
5             our @ISA= qw(Exporter);
6              
7             our $VERSION= '5.004';
8              
9             our ( @EXPORT_OK, %DEFINE, %TAG_INFO_HASH, @TAG_INFO_ARRAY );
10              
11             our %EXPORT_TAGS= ( all => \@EXPORT_OK );
12              
13             # start autoupdated section - do not modify directly
14              
15             BEGIN {
16 84     84   6572 %DEFINE= (
17             "SRL_HDR_ALIAS" => 46,
18             "SRL_HDR_ARRAY" => 43,
19             "SRL_HDR_ARRAYREF" => 64,
20             "SRL_HDR_ARRAYREF_HIGH" => 79,
21             "SRL_HDR_ARRAYREF_LOW" => 64,
22             "SRL_HDR_BINARY" => 38,
23             "SRL_HDR_CANONICAL_UNDEF" => 57,
24             "SRL_HDR_COPY" => 47,
25             "SRL_HDR_DOUBLE" => 35,
26             "SRL_HDR_EXTEND" => 62,
27             "SRL_HDR_FALSE" => 58,
28             "SRL_HDR_FLOAT" => 34,
29             "SRL_HDR_FLOAT_128" => 56,
30             "SRL_HDR_HASH" => 42,
31             "SRL_HDR_HASHREF" => 80,
32             "SRL_HDR_HASHREF_HIGH" => 95,
33             "SRL_HDR_HASHREF_LOW" => 80,
34             "SRL_HDR_LONG_DOUBLE" => 36,
35             "SRL_HDR_MANY" => 60,
36             "SRL_HDR_NEG" => 16,
37             "SRL_HDR_NEG_HIGH" => 31,
38             "SRL_HDR_NEG_LOW" => 16,
39             "SRL_HDR_NO" => 52,
40             "SRL_HDR_OBJECT" => 44,
41             "SRL_HDR_OBJECTV" => 45,
42             "SRL_HDR_OBJECTV_FREEZE" => 51,
43             "SRL_HDR_OBJECT_FREEZE" => 50,
44             "SRL_HDR_PACKET_START" => 61,
45             "SRL_HDR_PAD" => 63,
46             "SRL_HDR_POS" => 0,
47             "SRL_HDR_POS_HIGH" => 15,
48             "SRL_HDR_POS_LOW" => 0,
49             "SRL_HDR_REFN" => 40,
50             "SRL_HDR_REFP" => 41,
51             "SRL_HDR_REGEXP" => 49,
52             "SRL_HDR_RESERVED" => 54,
53             "SRL_HDR_RESERVED_HIGH" => 55,
54             "SRL_HDR_RESERVED_LOW" => 54,
55             "SRL_HDR_SHORT_BINARY" => 96,
56             "SRL_HDR_SHORT_BINARY_HIGH" => 127,
57             "SRL_HDR_SHORT_BINARY_LOW" => 96,
58             "SRL_HDR_STR_UTF8" => 39,
59             "SRL_HDR_TRACK_FLAG" => 128,
60             "SRL_HDR_TRUE" => 59,
61             "SRL_HDR_UNDEF" => 37,
62             "SRL_HDR_VARINT" => 32,
63             "SRL_HDR_WEAKEN" => 48,
64             "SRL_HDR_YES" => 53,
65             "SRL_HDR_ZIGZAG" => 33,
66             "SRL_MAGIC_STRING" => "=srl",
67             "SRL_MAGIC_STRING_HIGHBIT" => "=\363rl",
68             "SRL_MAGIC_STRING_HIGHBIT_UINT_BE" => 1039364716,
69             "SRL_MAGIC_STRING_HIGHBIT_UINT_LE" => 1819472701,
70             "SRL_MAGIC_STRING_HIGHBIT_UTF8" => "=\303\263rl",
71             "SRL_MAGIC_STRING_HIGHBIT_UTF8_UINT_BE" => 1036235634,
72             "SRL_MAGIC_STRING_HIGHBIT_UTF8_UINT_LE" => 1924383549,
73             "SRL_MAGIC_STRING_UINT_BE" => 1030976108,
74             "SRL_MAGIC_STRING_UINT_LE" => 1819439933,
75             "SRL_MAGIC_STRLEN" => 4,
76             "SRL_MASK_ARRAYREF_COUNT" => 15,
77             "SRL_MASK_HASHREF_COUNT" => 15,
78             "SRL_MASK_SHORT_BINARY_LEN" => 31,
79             "SRL_NEG_MIN_SIZE" => 16,
80             "SRL_POS_MAX_SIZE" => 15,
81             "SRL_PROTOCOL_ENCODING_MASK" => 240,
82             "SRL_PROTOCOL_ENCODING_RAW" => 0,
83             "SRL_PROTOCOL_ENCODING_SNAPPY" => 16,
84             "SRL_PROTOCOL_ENCODING_SNAPPY_INCREMENTAL" => 32,
85             "SRL_PROTOCOL_ENCODING_ZLIB" => 48,
86             "SRL_PROTOCOL_ENCODING_ZSTD" => 64,
87             "SRL_PROTOCOL_HDR_CONTINUE" => 8,
88             "SRL_PROTOCOL_HDR_USER_DATA" => 1,
89             "SRL_PROTOCOL_VERSION" => 5,
90             "SRL_PROTOCOL_VERSION_BITS" => 4,
91             "SRL_PROTOCOL_VERSION_MASK" => 15
92             );
93              
94             }
95              
96 84     84   567 use constant \%DEFINE;
  84         196  
  84         203891  
97             push @EXPORT_OK, keys %DEFINE;
98             @TAG_INFO_ARRAY= (
99              
100             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
101             {
102             "comment" => "small positive integer - value in low 4 bits (identity)",
103             "masked" => 1,
104             "masked_val" => 0,
105             "name" => "POS_0",
106             "type_name" => "POS",
107             "type_value" => 0,
108             "value" => 0
109             },
110              
111             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
112             {
113             "masked" => 1,
114             "masked_val" => 1,
115             "name" => "POS_1",
116             "type_name" => "POS",
117             "type_value" => 0,
118             "value" => 1
119             },
120              
121             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
122             {
123             "masked" => 1,
124             "masked_val" => 2,
125             "name" => "POS_2",
126             "type_name" => "POS",
127             "type_value" => 0,
128             "value" => 2
129             },
130              
131             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
132             {
133             "masked" => 1,
134             "masked_val" => 3,
135             "name" => "POS_3",
136             "type_name" => "POS",
137             "type_value" => 0,
138             "value" => 3
139             },
140              
141             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
142             {
143             "masked" => 1,
144             "masked_val" => 4,
145             "name" => "POS_4",
146             "type_name" => "POS",
147             "type_value" => 0,
148             "value" => 4
149             },
150              
151             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
152             {
153             "masked" => 1,
154             "masked_val" => 5,
155             "name" => "POS_5",
156             "type_name" => "POS",
157             "type_value" => 0,
158             "value" => 5
159             },
160              
161             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
162             {
163             "masked" => 1,
164             "masked_val" => 6,
165             "name" => "POS_6",
166             "type_name" => "POS",
167             "type_value" => 0,
168             "value" => 6
169             },
170              
171             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
172             {
173             "masked" => 1,
174             "masked_val" => 7,
175             "name" => "POS_7",
176             "type_name" => "POS",
177             "type_value" => 0,
178             "value" => 7
179             },
180              
181             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
182             {
183             "masked" => 1,
184             "masked_val" => 8,
185             "name" => "POS_8",
186             "type_name" => "POS",
187             "type_value" => 0,
188             "value" => 8
189             },
190              
191             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
192             {
193             "masked" => 1,
194             "masked_val" => 9,
195             "name" => "POS_9",
196             "type_name" => "POS",
197             "type_value" => 0,
198             "value" => 9
199             },
200              
201             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
202             {
203             "masked" => 1,
204             "masked_val" => 10,
205             "name" => "POS_10",
206             "type_name" => "POS",
207             "type_value" => 0,
208             "value" => 10
209             },
210              
211             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
212             {
213             "masked" => 1,
214             "masked_val" => 11,
215             "name" => "POS_11",
216             "type_name" => "POS",
217             "type_value" => 0,
218             "value" => 11
219             },
220              
221             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
222             {
223             "masked" => 1,
224             "masked_val" => 12,
225             "name" => "POS_12",
226             "type_name" => "POS",
227             "type_value" => 0,
228             "value" => 12
229             },
230              
231             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
232             {
233             "masked" => 1,
234             "masked_val" => 13,
235             "name" => "POS_13",
236             "type_name" => "POS",
237             "type_value" => 0,
238             "value" => 13
239             },
240              
241             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
242             {
243             "masked" => 1,
244             "masked_val" => 14,
245             "name" => "POS_14",
246             "type_name" => "POS",
247             "type_value" => 0,
248             "value" => 14
249             },
250              
251             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
252             {
253             "masked" => 1,
254             "masked_val" => 15,
255             "name" => "POS_15",
256             "type_name" => "POS",
257             "type_value" => 0,
258             "value" => 15
259             },
260              
261             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
262             {
263             "comment" => "small negative integer - value in low 4 bits (k+32)",
264             "masked" => 1,
265             "masked_val" => 16,
266             "name" => "NEG_16",
267             "type_name" => "NEG",
268             "type_value" => 16,
269             "value" => 16
270             },
271              
272             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
273             {
274             "masked" => 1,
275             "masked_val" => 15,
276             "name" => "NEG_15",
277             "type_name" => "NEG",
278             "type_value" => 16,
279             "value" => 17
280             },
281              
282             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
283             {
284             "masked" => 1,
285             "masked_val" => 14,
286             "name" => "NEG_14",
287             "type_name" => "NEG",
288             "type_value" => 16,
289             "value" => 18
290             },
291              
292             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
293             {
294             "masked" => 1,
295             "masked_val" => 13,
296             "name" => "NEG_13",
297             "type_name" => "NEG",
298             "type_value" => 16,
299             "value" => 19
300             },
301              
302             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
303             {
304             "masked" => 1,
305             "masked_val" => 12,
306             "name" => "NEG_12",
307             "type_name" => "NEG",
308             "type_value" => 16,
309             "value" => 20
310             },
311              
312             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
313             {
314             "masked" => 1,
315             "masked_val" => 11,
316             "name" => "NEG_11",
317             "type_name" => "NEG",
318             "type_value" => 16,
319             "value" => 21
320             },
321              
322             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
323             {
324             "masked" => 1,
325             "masked_val" => 10,
326             "name" => "NEG_10",
327             "type_name" => "NEG",
328             "type_value" => 16,
329             "value" => 22
330             },
331              
332             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
333             {
334             "masked" => 1,
335             "masked_val" => 9,
336             "name" => "NEG_9",
337             "type_name" => "NEG",
338             "type_value" => 16,
339             "value" => 23
340             },
341              
342             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
343             {
344             "masked" => 1,
345             "masked_val" => 8,
346             "name" => "NEG_8",
347             "type_name" => "NEG",
348             "type_value" => 16,
349             "value" => 24
350             },
351              
352             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
353             {
354             "masked" => 1,
355             "masked_val" => 7,
356             "name" => "NEG_7",
357             "type_name" => "NEG",
358             "type_value" => 16,
359             "value" => 25
360             },
361              
362             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
363             {
364             "masked" => 1,
365             "masked_val" => 6,
366             "name" => "NEG_6",
367             "type_name" => "NEG",
368             "type_value" => 16,
369             "value" => 26
370             },
371              
372             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
373             {
374             "masked" => 1,
375             "masked_val" => 5,
376             "name" => "NEG_5",
377             "type_name" => "NEG",
378             "type_value" => 16,
379             "value" => 27
380             },
381              
382             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
383             {
384             "masked" => 1,
385             "masked_val" => 4,
386             "name" => "NEG_4",
387             "type_name" => "NEG",
388             "type_value" => 16,
389             "value" => 28
390             },
391              
392             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
393             {
394             "masked" => 1,
395             "masked_val" => 3,
396             "name" => "NEG_3",
397             "type_name" => "NEG",
398             "type_value" => 16,
399             "value" => 29
400             },
401              
402             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
403             {
404             "masked" => 1,
405             "masked_val" => 2,
406             "name" => "NEG_2",
407             "type_name" => "NEG",
408             "type_value" => 16,
409             "value" => 30
410             },
411              
412             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
413             {
414             "masked" => 1,
415             "masked_val" => 1,
416             "name" => "NEG_1",
417             "type_name" => "NEG",
418             "type_value" => 16,
419             "value" => 31
420             },
421              
422             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
423             {
424             "comment" => " - Varint variable length integer",
425             "name" => "VARINT",
426             "type_name" => "VARINT",
427             "type_value" => 32,
428             "value" => 32
429             },
430              
431             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
432             {
433             "comment" => " - Zigzag variable length integer",
434             "name" => "ZIGZAG",
435             "type_name" => "ZIGZAG",
436             "type_value" => 33,
437             "value" => 33
438             },
439              
440             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
441             {
442             "comment" => "",
443             "name" => "FLOAT",
444             "type_name" => "FLOAT",
445             "type_value" => 34,
446             "value" => 34
447             },
448              
449             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
450             {
451             "comment" => "",
452             "name" => "DOUBLE",
453             "type_name" => "DOUBLE",
454             "type_value" => 35,
455             "value" => 35
456             },
457              
458             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
459             {
460             "comment" => "",
461             "name" => "LONG_DOUBLE",
462             "type_name" => "LONG_DOUBLE",
463             "type_value" => 36,
464             "value" => 36
465             },
466              
467             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
468             {
469             "comment" => "None - Perl undef var; eg my \$var= undef;",
470             "name" => "UNDEF",
471             "type_name" => "UNDEF",
472             "type_value" => 37,
473             "value" => 37
474             },
475              
476             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
477             {
478             "comment" => " - binary/(latin1) string",
479             "name" => "BINARY",
480             "type_name" => "BINARY",
481             "type_value" => 38,
482             "value" => 38
483             },
484              
485             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
486             {
487             "comment" => " - utf8 string",
488             "name" => "STR_UTF8",
489             "type_name" => "STR_UTF8",
490             "type_value" => 39,
491             "value" => 39
492             },
493              
494             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
495             {
496             "comment" => " - ref to next item",
497             "name" => "REFN",
498             "type_name" => "REFN",
499             "type_value" => 40,
500             "value" => 40
501             },
502              
503             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
504             {
505             "comment" => " - ref to previous item stored at offset",
506             "name" => "REFP",
507             "type_name" => "REFP",
508             "type_value" => 41,
509             "value" => 41
510             },
511              
512             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
513             {
514             "comment" =>
515             " [ ...] - count followed by key/value pairs",
516             "name" => "HASH",
517             "type_name" => "HASH",
518             "type_value" => 42,
519             "value" => 42
520             },
521              
522             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
523             {
524             "comment" => " [ ...] - count followed by items",
525             "name" => "ARRAY",
526             "type_name" => "ARRAY",
527             "type_value" => 43,
528             "value" => 43
529             },
530              
531             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
532             {
533             "comment" => " - class, object-item",
534             "name" => "OBJECT",
535             "type_name" => "OBJECT",
536             "type_value" => 44,
537             "value" => 44
538             },
539              
540             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
541             {
542             "comment" =>
543             " - offset of previously used classname tag - object-item",
544             "name" => "OBJECTV",
545             "type_name" => "OBJECTV",
546             "type_value" => 45,
547             "value" => 45
548             },
549              
550             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
551             {
552             "comment" => " - alias to item defined at offset",
553             "name" => "ALIAS",
554             "type_name" => "ALIAS",
555             "type_value" => 46,
556             "value" => 46
557             },
558              
559             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
560             {
561             "comment" => " - copy of item defined at offset",
562             "name" => "COPY",
563             "type_name" => "COPY",
564             "type_value" => 47,
565             "value" => 47
566             },
567              
568             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
569             {
570             "comment" => " - Weaken the following reference",
571             "name" => "WEAKEN",
572             "type_name" => "WEAKEN",
573             "type_value" => 48,
574             "value" => 48
575             },
576              
577             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
578             {
579             "comment" => " ",
580             "name" => "REGEXP",
581             "type_name" => "REGEXP",
582             "type_value" => 49,
583             "value" => 49
584             },
585              
586             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
587             {
588             "comment" =>
589             " - class, object-item. Need to call \"THAW\" method on class after decoding",
590             "name" => "OBJECT_FREEZE",
591             "type_name" => "OBJECT_FREEZE",
592             "type_value" => 50,
593             "value" => 50
594             },
595              
596             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
597             {
598             "comment" =>
599             " - (OBJECTV_FREEZE is to OBJECT_FREEZE as OBJECTV is to OBJECT)",
600             "name" => "OBJECTV_FREEZE",
601             "type_name" => "OBJECTV_FREEZE",
602             "type_value" => 51,
603             "value" => 51
604             },
605              
606             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
607             {
608             "comment" => "SvIsBOOL() == PL_No, 5.36 and later only (json false)",
609             "name" => "NO",
610             "type_name" => "NO",
611             "type_value" => 52,
612             "value" => 52
613             },
614              
615             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
616             {
617             "comment" => "SvIsBOOL() == PL_Yes, 5.36 and later only (json true)",
618             "name" => "YES",
619             "type_name" => "YES",
620             "type_value" => 53,
621             "value" => 53
622             },
623              
624             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
625             {
626             "masked" => 1,
627             "masked_val" => 0,
628             "name" => "RESERVED_0",
629             "type_name" => "RESERVED",
630             "type_value" => 54,
631             "value" => 54
632             },
633              
634             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
635             {
636             "masked" => 1,
637             "masked_val" => 1,
638             "name" => "RESERVED_1",
639             "type_name" => "RESERVED",
640             "type_value" => 54,
641             "value" => 55
642             },
643              
644             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
645             {
646             "comment" => "quadmath _float128",
647             "name" => "FLOAT_128",
648             "type_name" => "FLOAT_128",
649             "type_value" => 56,
650             "value" => 56
651             },
652              
653             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
654             {
655             "comment" => "undef (PL_sv_undef) - \"the\" Perl undef (see notes)",
656             "name" => "CANONICAL_UNDEF",
657             "type_name" => "CANONICAL_UNDEF",
658             "type_value" => 57,
659             "value" => 57
660             },
661              
662             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
663             {
664             "comment" => "false (PL_sv_no)",
665             "name" => "FALSE",
666             "type_name" => "FALSE",
667             "type_value" => 58,
668             "value" => 58
669             },
670              
671             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
672             {
673             "comment" => "true (PL_sv_yes)",
674             "name" => "TRUE",
675             "type_name" => "TRUE",
676             "type_value" => 59,
677             "value" => 59
678             },
679              
680             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
681             {
682             "comment" =>
683             " - repeated tag (not done yet, will be implemented in version 3)",
684             "name" => "MANY",
685             "type_name" => "MANY",
686             "type_value" => 60,
687             "value" => 60
688             },
689              
690             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
691             {
692             "comment" => "(first byte of magic string in header)",
693             "name" => "PACKET_START",
694             "type_name" => "PACKET_START",
695             "type_value" => 61,
696             "value" => 61
697             },
698              
699             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
700             {
701             "comment" => " - for additional tags",
702             "name" => "EXTEND",
703             "type_name" => "EXTEND",
704             "type_value" => 62,
705             "value" => 62
706             },
707              
708             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
709             {
710             "comment" => "(ignored tag, skip to next byte)",
711             "name" => "PAD",
712             "type_name" => "PAD",
713             "type_value" => 63,
714             "value" => 63
715             },
716              
717             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
718             {
719             "comment" => "[ ...] - count of items in low 4 bits (ARRAY must be refcnt=1)",
720             "masked" => 1,
721             "masked_val" => 0,
722             "name" => "ARRAYREF_0",
723             "type_name" => "ARRAYREF",
724             "type_value" => 64,
725             "value" => 64
726             },
727              
728             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
729             {
730             "masked" => 1,
731             "masked_val" => 1,
732             "name" => "ARRAYREF_1",
733             "type_name" => "ARRAYREF",
734             "type_value" => 64,
735             "value" => 65
736             },
737              
738             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
739             {
740             "masked" => 1,
741             "masked_val" => 2,
742             "name" => "ARRAYREF_2",
743             "type_name" => "ARRAYREF",
744             "type_value" => 64,
745             "value" => 66
746             },
747              
748             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
749             {
750             "masked" => 1,
751             "masked_val" => 3,
752             "name" => "ARRAYREF_3",
753             "type_name" => "ARRAYREF",
754             "type_value" => 64,
755             "value" => 67
756             },
757              
758             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
759             {
760             "masked" => 1,
761             "masked_val" => 4,
762             "name" => "ARRAYREF_4",
763             "type_name" => "ARRAYREF",
764             "type_value" => 64,
765             "value" => 68
766             },
767              
768             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
769             {
770             "masked" => 1,
771             "masked_val" => 5,
772             "name" => "ARRAYREF_5",
773             "type_name" => "ARRAYREF",
774             "type_value" => 64,
775             "value" => 69
776             },
777              
778             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
779             {
780             "masked" => 1,
781             "masked_val" => 6,
782             "name" => "ARRAYREF_6",
783             "type_name" => "ARRAYREF",
784             "type_value" => 64,
785             "value" => 70
786             },
787              
788             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
789             {
790             "masked" => 1,
791             "masked_val" => 7,
792             "name" => "ARRAYREF_7",
793             "type_name" => "ARRAYREF",
794             "type_value" => 64,
795             "value" => 71
796             },
797              
798             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
799             {
800             "masked" => 1,
801             "masked_val" => 8,
802             "name" => "ARRAYREF_8",
803             "type_name" => "ARRAYREF",
804             "type_value" => 64,
805             "value" => 72
806             },
807              
808             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
809             {
810             "masked" => 1,
811             "masked_val" => 9,
812             "name" => "ARRAYREF_9",
813             "type_name" => "ARRAYREF",
814             "type_value" => 64,
815             "value" => 73
816             },
817              
818             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
819             {
820             "masked" => 1,
821             "masked_val" => 10,
822             "name" => "ARRAYREF_10",
823             "type_name" => "ARRAYREF",
824             "type_value" => 64,
825             "value" => 74
826             },
827              
828             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
829             {
830             "masked" => 1,
831             "masked_val" => 11,
832             "name" => "ARRAYREF_11",
833             "type_name" => "ARRAYREF",
834             "type_value" => 64,
835             "value" => 75
836             },
837              
838             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
839             {
840             "masked" => 1,
841             "masked_val" => 12,
842             "name" => "ARRAYREF_12",
843             "type_name" => "ARRAYREF",
844             "type_value" => 64,
845             "value" => 76
846             },
847              
848             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
849             {
850             "masked" => 1,
851             "masked_val" => 13,
852             "name" => "ARRAYREF_13",
853             "type_name" => "ARRAYREF",
854             "type_value" => 64,
855             "value" => 77
856             },
857              
858             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
859             {
860             "masked" => 1,
861             "masked_val" => 14,
862             "name" => "ARRAYREF_14",
863             "type_name" => "ARRAYREF",
864             "type_value" => 64,
865             "value" => 78
866             },
867              
868             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
869             {
870             "masked" => 1,
871             "masked_val" => 15,
872             "name" => "ARRAYREF_15",
873             "type_name" => "ARRAYREF",
874             "type_value" => 64,
875             "value" => 79
876             },
877              
878             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
879             {
880             "comment" =>
881             "[ ...] - count in low 4 bits, key/value pairs (HASH must be refcnt=1)",
882             "masked" => 1,
883             "masked_val" => 0,
884             "name" => "HASHREF_0",
885             "type_name" => "HASHREF",
886             "type_value" => 80,
887             "value" => 80
888             },
889              
890             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
891             {
892             "masked" => 1,
893             "masked_val" => 1,
894             "name" => "HASHREF_1",
895             "type_name" => "HASHREF",
896             "type_value" => 80,
897             "value" => 81
898             },
899              
900             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
901             {
902             "masked" => 1,
903             "masked_val" => 2,
904             "name" => "HASHREF_2",
905             "type_name" => "HASHREF",
906             "type_value" => 80,
907             "value" => 82
908             },
909              
910             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
911             {
912             "masked" => 1,
913             "masked_val" => 3,
914             "name" => "HASHREF_3",
915             "type_name" => "HASHREF",
916             "type_value" => 80,
917             "value" => 83
918             },
919              
920             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
921             {
922             "masked" => 1,
923             "masked_val" => 4,
924             "name" => "HASHREF_4",
925             "type_name" => "HASHREF",
926             "type_value" => 80,
927             "value" => 84
928             },
929              
930             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
931             {
932             "masked" => 1,
933             "masked_val" => 5,
934             "name" => "HASHREF_5",
935             "type_name" => "HASHREF",
936             "type_value" => 80,
937             "value" => 85
938             },
939              
940             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
941             {
942             "masked" => 1,
943             "masked_val" => 6,
944             "name" => "HASHREF_6",
945             "type_name" => "HASHREF",
946             "type_value" => 80,
947             "value" => 86
948             },
949              
950             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
951             {
952             "masked" => 1,
953             "masked_val" => 7,
954             "name" => "HASHREF_7",
955             "type_name" => "HASHREF",
956             "type_value" => 80,
957             "value" => 87
958             },
959              
960             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
961             {
962             "masked" => 1,
963             "masked_val" => 8,
964             "name" => "HASHREF_8",
965             "type_name" => "HASHREF",
966             "type_value" => 80,
967             "value" => 88
968             },
969              
970             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
971             {
972             "masked" => 1,
973             "masked_val" => 9,
974             "name" => "HASHREF_9",
975             "type_name" => "HASHREF",
976             "type_value" => 80,
977             "value" => 89
978             },
979              
980             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
981             {
982             "masked" => 1,
983             "masked_val" => 10,
984             "name" => "HASHREF_10",
985             "type_name" => "HASHREF",
986             "type_value" => 80,
987             "value" => 90
988             },
989              
990             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
991             {
992             "masked" => 1,
993             "masked_val" => 11,
994             "name" => "HASHREF_11",
995             "type_name" => "HASHREF",
996             "type_value" => 80,
997             "value" => 91
998             },
999              
1000             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1001             {
1002             "masked" => 1,
1003             "masked_val" => 12,
1004             "name" => "HASHREF_12",
1005             "type_name" => "HASHREF",
1006             "type_value" => 80,
1007             "value" => 92
1008             },
1009              
1010             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1011             {
1012             "masked" => 1,
1013             "masked_val" => 13,
1014             "name" => "HASHREF_13",
1015             "type_name" => "HASHREF",
1016             "type_value" => 80,
1017             "value" => 93
1018             },
1019              
1020             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1021             {
1022             "masked" => 1,
1023             "masked_val" => 14,
1024             "name" => "HASHREF_14",
1025             "type_name" => "HASHREF",
1026             "type_value" => 80,
1027             "value" => 94
1028             },
1029              
1030             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1031             {
1032             "masked" => 1,
1033             "masked_val" => 15,
1034             "name" => "HASHREF_15",
1035             "type_name" => "HASHREF",
1036             "type_value" => 80,
1037             "value" => 95
1038             },
1039              
1040             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1041             {
1042             "comment" => " - binary/latin1 string, length encoded in low 5 bits of tag",
1043             "masked" => 1,
1044             "masked_val" => 0,
1045             "name" => "SHORT_BINARY_0",
1046             "type_name" => "SHORT_BINARY",
1047             "type_value" => 96,
1048             "value" => 96
1049             },
1050              
1051             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1052             {
1053             "masked" => 1,
1054             "masked_val" => 1,
1055             "name" => "SHORT_BINARY_1",
1056             "type_name" => "SHORT_BINARY",
1057             "type_value" => 96,
1058             "value" => 97
1059             },
1060              
1061             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1062             {
1063             "masked" => 1,
1064             "masked_val" => 2,
1065             "name" => "SHORT_BINARY_2",
1066             "type_name" => "SHORT_BINARY",
1067             "type_value" => 96,
1068             "value" => 98
1069             },
1070              
1071             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1072             {
1073             "masked" => 1,
1074             "masked_val" => 3,
1075             "name" => "SHORT_BINARY_3",
1076             "type_name" => "SHORT_BINARY",
1077             "type_value" => 96,
1078             "value" => 99
1079             },
1080              
1081             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1082             {
1083             "masked" => 1,
1084             "masked_val" => 4,
1085             "name" => "SHORT_BINARY_4",
1086             "type_name" => "SHORT_BINARY",
1087             "type_value" => 96,
1088             "value" => 100
1089             },
1090              
1091             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1092             {
1093             "masked" => 1,
1094             "masked_val" => 5,
1095             "name" => "SHORT_BINARY_5",
1096             "type_name" => "SHORT_BINARY",
1097             "type_value" => 96,
1098             "value" => 101
1099             },
1100              
1101             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1102             {
1103             "masked" => 1,
1104             "masked_val" => 6,
1105             "name" => "SHORT_BINARY_6",
1106             "type_name" => "SHORT_BINARY",
1107             "type_value" => 96,
1108             "value" => 102
1109             },
1110              
1111             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1112             {
1113             "masked" => 1,
1114             "masked_val" => 7,
1115             "name" => "SHORT_BINARY_7",
1116             "type_name" => "SHORT_BINARY",
1117             "type_value" => 96,
1118             "value" => 103
1119             },
1120              
1121             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1122             {
1123             "masked" => 1,
1124             "masked_val" => 8,
1125             "name" => "SHORT_BINARY_8",
1126             "type_name" => "SHORT_BINARY",
1127             "type_value" => 96,
1128             "value" => 104
1129             },
1130              
1131             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1132             {
1133             "masked" => 1,
1134             "masked_val" => 9,
1135             "name" => "SHORT_BINARY_9",
1136             "type_name" => "SHORT_BINARY",
1137             "type_value" => 96,
1138             "value" => 105
1139             },
1140              
1141             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1142             {
1143             "masked" => 1,
1144             "masked_val" => 10,
1145             "name" => "SHORT_BINARY_10",
1146             "type_name" => "SHORT_BINARY",
1147             "type_value" => 96,
1148             "value" => 106
1149             },
1150              
1151             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1152             {
1153             "masked" => 1,
1154             "masked_val" => 11,
1155             "name" => "SHORT_BINARY_11",
1156             "type_name" => "SHORT_BINARY",
1157             "type_value" => 96,
1158             "value" => 107
1159             },
1160              
1161             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1162             {
1163             "masked" => 1,
1164             "masked_val" => 12,
1165             "name" => "SHORT_BINARY_12",
1166             "type_name" => "SHORT_BINARY",
1167             "type_value" => 96,
1168             "value" => 108
1169             },
1170              
1171             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1172             {
1173             "masked" => 1,
1174             "masked_val" => 13,
1175             "name" => "SHORT_BINARY_13",
1176             "type_name" => "SHORT_BINARY",
1177             "type_value" => 96,
1178             "value" => 109
1179             },
1180              
1181             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1182             {
1183             "masked" => 1,
1184             "masked_val" => 14,
1185             "name" => "SHORT_BINARY_14",
1186             "type_name" => "SHORT_BINARY",
1187             "type_value" => 96,
1188             "value" => 110
1189             },
1190              
1191             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1192             {
1193             "masked" => 1,
1194             "masked_val" => 15,
1195             "name" => "SHORT_BINARY_15",
1196             "type_name" => "SHORT_BINARY",
1197             "type_value" => 96,
1198             "value" => 111
1199             },
1200              
1201             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1202             {
1203             "masked" => 1,
1204             "masked_val" => 16,
1205             "name" => "SHORT_BINARY_16",
1206             "type_name" => "SHORT_BINARY",
1207             "type_value" => 96,
1208             "value" => 112
1209             },
1210              
1211             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1212             {
1213             "masked" => 1,
1214             "masked_val" => 17,
1215             "name" => "SHORT_BINARY_17",
1216             "type_name" => "SHORT_BINARY",
1217             "type_value" => 96,
1218             "value" => 113
1219             },
1220              
1221             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1222             {
1223             "masked" => 1,
1224             "masked_val" => 18,
1225             "name" => "SHORT_BINARY_18",
1226             "type_name" => "SHORT_BINARY",
1227             "type_value" => 96,
1228             "value" => 114
1229             },
1230              
1231             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1232             {
1233             "masked" => 1,
1234             "masked_val" => 19,
1235             "name" => "SHORT_BINARY_19",
1236             "type_name" => "SHORT_BINARY",
1237             "type_value" => 96,
1238             "value" => 115
1239             },
1240              
1241             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1242             {
1243             "masked" => 1,
1244             "masked_val" => 20,
1245             "name" => "SHORT_BINARY_20",
1246             "type_name" => "SHORT_BINARY",
1247             "type_value" => 96,
1248             "value" => 116
1249             },
1250              
1251             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1252             {
1253             "masked" => 1,
1254             "masked_val" => 21,
1255             "name" => "SHORT_BINARY_21",
1256             "type_name" => "SHORT_BINARY",
1257             "type_value" => 96,
1258             "value" => 117
1259             },
1260              
1261             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1262             {
1263             "masked" => 1,
1264             "masked_val" => 22,
1265             "name" => "SHORT_BINARY_22",
1266             "type_name" => "SHORT_BINARY",
1267             "type_value" => 96,
1268             "value" => 118
1269             },
1270              
1271             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1272             {
1273             "masked" => 1,
1274             "masked_val" => 23,
1275             "name" => "SHORT_BINARY_23",
1276             "type_name" => "SHORT_BINARY",
1277             "type_value" => 96,
1278             "value" => 119
1279             },
1280              
1281             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1282             {
1283             "masked" => 1,
1284             "masked_val" => 24,
1285             "name" => "SHORT_BINARY_24",
1286             "type_name" => "SHORT_BINARY",
1287             "type_value" => 96,
1288             "value" => 120
1289             },
1290              
1291             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1292             {
1293             "masked" => 1,
1294             "masked_val" => 25,
1295             "name" => "SHORT_BINARY_25",
1296             "type_name" => "SHORT_BINARY",
1297             "type_value" => 96,
1298             "value" => 121
1299             },
1300              
1301             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1302             {
1303             "masked" => 1,
1304             "masked_val" => 26,
1305             "name" => "SHORT_BINARY_26",
1306             "type_name" => "SHORT_BINARY",
1307             "type_value" => 96,
1308             "value" => 122
1309             },
1310              
1311             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1312             {
1313             "masked" => 1,
1314             "masked_val" => 27,
1315             "name" => "SHORT_BINARY_27",
1316             "type_name" => "SHORT_BINARY",
1317             "type_value" => 96,
1318             "value" => 123
1319             },
1320              
1321             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1322             {
1323             "masked" => 1,
1324             "masked_val" => 28,
1325             "name" => "SHORT_BINARY_28",
1326             "type_name" => "SHORT_BINARY",
1327             "type_value" => 96,
1328             "value" => 124
1329             },
1330              
1331             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1332             {
1333             "masked" => 1,
1334             "masked_val" => 29,
1335             "name" => "SHORT_BINARY_29",
1336             "type_name" => "SHORT_BINARY",
1337             "type_value" => 96,
1338             "value" => 125
1339             },
1340              
1341             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1342             {
1343             "masked" => 1,
1344             "masked_val" => 30,
1345             "name" => "SHORT_BINARY_30",
1346             "type_name" => "SHORT_BINARY",
1347             "type_value" => 96,
1348             "value" => 126
1349             },
1350              
1351             # autoupdated by Sereal.git:Perl/shared/author_tools/update_from_header.pl do not modify directly!
1352             {
1353             "masked" => 1,
1354             "masked_val" => 31,
1355             "name" => "SHORT_BINARY_31",
1356             "type_name" => "SHORT_BINARY",
1357             "type_value" => 96,
1358             "value" => 127
1359             } );
1360              
1361             $TAG_INFO_HASH{ chr $_ }= $TAG_INFO_ARRAY[$_] for 0 .. 127;
1362             push @EXPORT_OK, qw(%TAG_INFO_HASH @TAG_INFO_ARRAY);
1363              
1364             # stop autoupdated section - do not modify directly!
1365             1;