Module: JavaBin::Pure

Defined in:
lib/java_bin/pure.rb,
lib/java_bin/pure/parser.rb

Defined Under Namespace

Classes: Parser

Constant Summary collapse

NULL =
0
BOOL_TRUE =
1
BOOL_FALSE =
2
BYTE =
3
SHORT =
4
DOUBLE =
5
INT =
6
LONG =
7
FLOAT =
8
DATE =
9
MAP =
10
SOLRDOC =
11
SOLRDOCLST =
12
BYTEARR =
13
ITERATOR =
14
TERM =

END = 15

15
STR =

TAG_AND_LEN = (1 << 5)

(1 << 5)
SINT =
(2 << 5)
SLONG =
(3 << 5)
ARR =
(4 << 5)
ORDERED_MAP =
(5 << 5)
NAMED_LST =
(6 << 5)
EXTERN_STRING =
(7 << 5)
SHIFTED_STR =

TODO 論理シフト

STR >> 5
SHIFTED_ARR =
ARR >> 5
SHIFTED_EXTERN_STRING =
EXTERN_STRING >> 5
SHIFTED_ORDERED_MAP =
ORDERED_MAP >> 5
SHIFTED_NAMED_LST =
NAMED_LST >> 5
SHIFTED_SINT =
SINT >> 5
SHIFTED_SLONG =
SLONG >> 5
VERSIONS =
[1, 2]
TERM_OBJ =
:term_obj