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