binaryparse 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/binaryparse.gemspec +18 -0
- data/doc/classes/BinaryBlocker/BitFieldEncoder.html +328 -0
- data/doc/classes/BinaryBlocker/Blocker.html +168 -0
- data/doc/classes/BinaryBlocker/CountedArrayEncoder.html +347 -0
- data/doc/classes/BinaryBlocker/Encoder.html +526 -0
- data/doc/classes/BinaryBlocker/FixedArrayEncoder.html +278 -0
- data/doc/classes/BinaryBlocker/FixedStringEncoder.html +177 -0
- data/doc/classes/BinaryBlocker/FixedUTF16StringEncoder.html +229 -0
- data/doc/classes/BinaryBlocker/GroupEncoder.html +650 -0
- data/doc/classes/BinaryBlocker/ListOfEncoder.html +343 -0
- data/doc/classes/BinaryBlocker/OneOfEncoder.html +306 -0
- data/doc/classes/BinaryBlocker/PackedDateEncoder.html +220 -0
- data/doc/classes/BinaryBlocker/PackedDateTimeEncoder.html +220 -0
- data/doc/classes/BinaryBlocker/PackedNumberEncoder.html +231 -0
- data/doc/classes/BinaryBlocker/SimpleEncoder.html +284 -0
- data/doc/classes/BinaryBlocker.html +329 -0
- data/doc/classes/BufferedIO.html +324 -0
- data/doc/classes/TestBlocker/BBDate.html +120 -0
- data/doc/classes/TestBlocker/BBList.html +120 -0
- data/doc/classes/TestBlocker/BBPacked.html +120 -0
- data/doc/classes/TestBlocker/BBString.html +120 -0
- data/doc/classes/TestBlocker/BBSub1.html +120 -0
- data/doc/classes/TestBlocker/BBSub2.html +120 -0
- data/doc/classes/TestBlocker/BBTest1.html +120 -0
- data/doc/classes/TestBlocker/BBTest2.html +120 -0
- data/doc/classes/TestBlocker/BBTest3.html +120 -0
- data/doc/classes/TestBlocker/BBTest4.html +120 -0
- data/doc/classes/TestBlocker/BBTest5.html +120 -0
- data/doc/classes/TestBlocker/BBTest6.html +120 -0
- data/doc/classes/TestBlocker/BBTest7.html +120 -0
- data/doc/classes/TestBlocker/BBTime.html +120 -0
- data/doc/classes/TestBlocker/BBUTF16.html +120 -0
- data/doc/classes/TestBlocker/ItemA.html +120 -0
- data/doc/classes/TestBlocker/ItemB.html +120 -0
- data/doc/classes/TestBlocker.html +802 -0
- data/doc/created.rid +1 -0
- data/doc/dot/f_0.dot +208 -0
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +23 -0
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_2.dot +32 -0
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/m_0_0.dot +208 -0
- data/doc/dot/m_0_0.png +0 -0
- data/doc/files/lib/blocker_rb.html +144 -0
- data/doc/files/lib/buffered_io_rb.html +115 -0
- data/doc/files/test/test_blocker_rb.html +116 -0
- data/doc/fr_class_index.html +60 -0
- data/doc/fr_file_index.html +29 -0
- data/doc/fr_method_index.html +135 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/blocker.rb +736 -0
- data/lib/buffered_io.rb +58 -0
- data/test/test_blocker.rb +412 -0
- metadata +111 -0
data/doc/created.rid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Tue Aug 08 12:15:45 Eastern Standard Time 2006
|
data/doc/dot/f_0.dot
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
digraph TopLevel {
|
2
|
+
compound = true
|
3
|
+
bgcolor = lightcyan1
|
4
|
+
fontname = Arial
|
5
|
+
fontsize = 8
|
6
|
+
label = "lib/blocker.rb"
|
7
|
+
node [
|
8
|
+
fontname = Arial,
|
9
|
+
fontsize = 8,
|
10
|
+
color = black
|
11
|
+
]
|
12
|
+
|
13
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__ListOfEncoder [
|
14
|
+
|
15
|
+
]
|
16
|
+
|
17
|
+
BinaryBlocker__Encoder -> BinaryBlocker__GroupEncoder [
|
18
|
+
|
19
|
+
]
|
20
|
+
|
21
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__Blocker [
|
22
|
+
|
23
|
+
]
|
24
|
+
|
25
|
+
BinaryBlocker__PackedNumberEncoder -> BinaryBlocker__PackedDateEncoder [
|
26
|
+
|
27
|
+
]
|
28
|
+
|
29
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__FixedArrayEncoder [
|
30
|
+
|
31
|
+
]
|
32
|
+
|
33
|
+
BinaryBlocker__SimpleEncoder -> BinaryBlocker__PackedNumberEncoder [
|
34
|
+
|
35
|
+
]
|
36
|
+
|
37
|
+
BinaryBlocker__SimpleEncoder -> BinaryBlocker__FixedStringEncoder [
|
38
|
+
|
39
|
+
]
|
40
|
+
|
41
|
+
BinaryBlocker__Encoder -> BinaryBlocker__BitFieldEncoder [
|
42
|
+
|
43
|
+
]
|
44
|
+
|
45
|
+
BinaryBlocker__SimpleEncoder -> BinaryBlocker__FixedUTF16StringEncoder [
|
46
|
+
|
47
|
+
]
|
48
|
+
|
49
|
+
BinaryBlocker__Encoder -> BinaryBlocker__OneOfEncoder [
|
50
|
+
|
51
|
+
]
|
52
|
+
|
53
|
+
BinaryBlocker__PackedNumberEncoder -> BinaryBlocker__PackedDateTimeEncoder [
|
54
|
+
|
55
|
+
]
|
56
|
+
|
57
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__CountedArrayEncoder [
|
58
|
+
|
59
|
+
]
|
60
|
+
|
61
|
+
BinaryBlocker__Encoder -> BinaryBlocker__SimpleEncoder [
|
62
|
+
|
63
|
+
]
|
64
|
+
|
65
|
+
subgraph cluster_BinaryBlocker {
|
66
|
+
fillcolor = palegreen1
|
67
|
+
URL = "classes/BinaryBlocker.html"
|
68
|
+
fontname = Arial
|
69
|
+
color = blue
|
70
|
+
label = "BinaryBlocker"
|
71
|
+
style = filled
|
72
|
+
BinaryBlocker [
|
73
|
+
shape = plaintext,
|
74
|
+
height = 0.01,
|
75
|
+
width = 0.01,
|
76
|
+
label = ""
|
77
|
+
]
|
78
|
+
|
79
|
+
BinaryBlocker__ListOfEncoder [
|
80
|
+
fontcolor = black,
|
81
|
+
URL = "classes/BinaryBlocker/ListOfEncoder.html",
|
82
|
+
shape = ellipse,
|
83
|
+
color = palegoldenrod,
|
84
|
+
style = filled,
|
85
|
+
label = "ListOfEncoder"
|
86
|
+
]
|
87
|
+
|
88
|
+
BinaryBlocker__GroupEncoder [
|
89
|
+
fontcolor = black,
|
90
|
+
URL = "classes/BinaryBlocker/GroupEncoder.html",
|
91
|
+
shape = ellipse,
|
92
|
+
color = palegoldenrod,
|
93
|
+
style = filled,
|
94
|
+
label = "GroupEncoder"
|
95
|
+
]
|
96
|
+
|
97
|
+
BinaryBlocker__Blocker [
|
98
|
+
fontcolor = black,
|
99
|
+
URL = "classes/BinaryBlocker/Blocker.html",
|
100
|
+
shape = ellipse,
|
101
|
+
color = palegoldenrod,
|
102
|
+
style = filled,
|
103
|
+
label = "Blocker"
|
104
|
+
]
|
105
|
+
|
106
|
+
BinaryBlocker__PackedDateEncoder [
|
107
|
+
fontcolor = black,
|
108
|
+
URL = "classes/BinaryBlocker/PackedDateEncoder.html",
|
109
|
+
shape = ellipse,
|
110
|
+
color = palegoldenrod,
|
111
|
+
style = filled,
|
112
|
+
label = "PackedDateEncoder"
|
113
|
+
]
|
114
|
+
|
115
|
+
BinaryBlocker__FixedArrayEncoder [
|
116
|
+
fontcolor = black,
|
117
|
+
URL = "classes/BinaryBlocker/FixedArrayEncoder.html",
|
118
|
+
shape = ellipse,
|
119
|
+
color = palegoldenrod,
|
120
|
+
style = filled,
|
121
|
+
label = "FixedArrayEncoder"
|
122
|
+
]
|
123
|
+
|
124
|
+
BinaryBlocker__PackedNumberEncoder [
|
125
|
+
fontcolor = black,
|
126
|
+
URL = "classes/BinaryBlocker/PackedNumberEncoder.html",
|
127
|
+
shape = ellipse,
|
128
|
+
color = palegoldenrod,
|
129
|
+
style = filled,
|
130
|
+
label = "PackedNumberEncoder"
|
131
|
+
]
|
132
|
+
|
133
|
+
BinaryBlocker__FixedStringEncoder [
|
134
|
+
fontcolor = black,
|
135
|
+
URL = "classes/BinaryBlocker/FixedStringEncoder.html",
|
136
|
+
shape = ellipse,
|
137
|
+
color = palegoldenrod,
|
138
|
+
style = filled,
|
139
|
+
label = "FixedStringEncoder"
|
140
|
+
]
|
141
|
+
|
142
|
+
BinaryBlocker__BitFieldEncoder [
|
143
|
+
fontcolor = black,
|
144
|
+
URL = "classes/BinaryBlocker/BitFieldEncoder.html",
|
145
|
+
shape = ellipse,
|
146
|
+
color = palegoldenrod,
|
147
|
+
style = filled,
|
148
|
+
label = "BitFieldEncoder"
|
149
|
+
]
|
150
|
+
|
151
|
+
BinaryBlocker__FixedUTF16StringEncoder [
|
152
|
+
fontcolor = black,
|
153
|
+
URL = "classes/BinaryBlocker/FixedUTF16StringEncoder.html",
|
154
|
+
shape = ellipse,
|
155
|
+
color = palegoldenrod,
|
156
|
+
style = filled,
|
157
|
+
label = "FixedUTF16StringEncoder"
|
158
|
+
]
|
159
|
+
|
160
|
+
BinaryBlocker__OneOfEncoder [
|
161
|
+
fontcolor = black,
|
162
|
+
URL = "classes/BinaryBlocker/OneOfEncoder.html",
|
163
|
+
shape = ellipse,
|
164
|
+
color = palegoldenrod,
|
165
|
+
style = filled,
|
166
|
+
label = "OneOfEncoder"
|
167
|
+
]
|
168
|
+
|
169
|
+
BinaryBlocker__PackedDateTimeEncoder [
|
170
|
+
fontcolor = black,
|
171
|
+
URL = "classes/BinaryBlocker/PackedDateTimeEncoder.html",
|
172
|
+
shape = ellipse,
|
173
|
+
color = palegoldenrod,
|
174
|
+
style = filled,
|
175
|
+
label = "PackedDateTimeEncoder"
|
176
|
+
]
|
177
|
+
|
178
|
+
BinaryBlocker__CountedArrayEncoder [
|
179
|
+
fontcolor = black,
|
180
|
+
URL = "classes/BinaryBlocker/CountedArrayEncoder.html",
|
181
|
+
shape = ellipse,
|
182
|
+
color = palegoldenrod,
|
183
|
+
style = filled,
|
184
|
+
label = "CountedArrayEncoder"
|
185
|
+
]
|
186
|
+
|
187
|
+
BinaryBlocker__SimpleEncoder [
|
188
|
+
fontcolor = black,
|
189
|
+
URL = "classes/BinaryBlocker/SimpleEncoder.html",
|
190
|
+
shape = ellipse,
|
191
|
+
color = palegoldenrod,
|
192
|
+
style = filled,
|
193
|
+
label = "SimpleEncoder"
|
194
|
+
]
|
195
|
+
|
196
|
+
BinaryBlocker__Encoder [
|
197
|
+
fontcolor = black,
|
198
|
+
URL = "classes/BinaryBlocker/Encoder.html",
|
199
|
+
shape = ellipse,
|
200
|
+
color = palegoldenrod,
|
201
|
+
style = filled,
|
202
|
+
label = "Encoder"
|
203
|
+
]
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
}
|
208
|
+
|
data/doc/dot/f_0.png
ADDED
Binary file
|
data/doc/dot/f_1.dot
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
digraph TopLevel {
|
2
|
+
compound = true
|
3
|
+
bgcolor = lightcyan1
|
4
|
+
fontname = Arial
|
5
|
+
fontsize = 8
|
6
|
+
label = "lib/buffered_io.rb"
|
7
|
+
node [
|
8
|
+
fontname = Arial,
|
9
|
+
fontsize = 8,
|
10
|
+
color = black
|
11
|
+
]
|
12
|
+
|
13
|
+
BufferedIO [
|
14
|
+
fontcolor = black,
|
15
|
+
URL = "classes/BufferedIO.html",
|
16
|
+
shape = ellipse,
|
17
|
+
color = palegoldenrod,
|
18
|
+
style = filled,
|
19
|
+
label = "BufferedIO"
|
20
|
+
]
|
21
|
+
|
22
|
+
}
|
23
|
+
|
data/doc/dot/f_1.png
ADDED
Binary file
|
data/doc/dot/f_2.dot
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
digraph TopLevel {
|
2
|
+
compound = true
|
3
|
+
bgcolor = lightcyan1
|
4
|
+
fontname = Arial
|
5
|
+
fontsize = 8
|
6
|
+
label = "test/test_blocker.rb"
|
7
|
+
node [
|
8
|
+
fontname = Arial,
|
9
|
+
fontsize = 8,
|
10
|
+
color = black
|
11
|
+
]
|
12
|
+
|
13
|
+
TestBlocker [
|
14
|
+
fontcolor = black,
|
15
|
+
URL = "classes/TestBlocker.html",
|
16
|
+
shape = ellipse,
|
17
|
+
color = palegoldenrod,
|
18
|
+
style = filled,
|
19
|
+
label = "TestBlocker"
|
20
|
+
]
|
21
|
+
|
22
|
+
Test__Unit__TestCase [
|
23
|
+
URL = "classes/Test/Unit/TestCase.html",
|
24
|
+
label = "Test::Unit::TestCase"
|
25
|
+
]
|
26
|
+
|
27
|
+
Test__Unit__TestCase -> TestBlocker [
|
28
|
+
|
29
|
+
]
|
30
|
+
|
31
|
+
}
|
32
|
+
|
data/doc/dot/f_2.png
ADDED
Binary file
|
data/doc/dot/m_0_0.dot
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
digraph TopLevel {
|
2
|
+
compound = true
|
3
|
+
bgcolor = lightcyan1
|
4
|
+
fontname = Arial
|
5
|
+
fontsize = 8
|
6
|
+
label = "TopLevel"
|
7
|
+
node [
|
8
|
+
fontname = Arial,
|
9
|
+
fontsize = 8,
|
10
|
+
color = black
|
11
|
+
]
|
12
|
+
|
13
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__ListOfEncoder [
|
14
|
+
|
15
|
+
]
|
16
|
+
|
17
|
+
BinaryBlocker__Encoder -> BinaryBlocker__GroupEncoder [
|
18
|
+
|
19
|
+
]
|
20
|
+
|
21
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__Blocker [
|
22
|
+
|
23
|
+
]
|
24
|
+
|
25
|
+
BinaryBlocker__PackedNumberEncoder -> BinaryBlocker__PackedDateEncoder [
|
26
|
+
|
27
|
+
]
|
28
|
+
|
29
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__FixedArrayEncoder [
|
30
|
+
|
31
|
+
]
|
32
|
+
|
33
|
+
BinaryBlocker__SimpleEncoder -> BinaryBlocker__PackedNumberEncoder [
|
34
|
+
|
35
|
+
]
|
36
|
+
|
37
|
+
BinaryBlocker__SimpleEncoder -> BinaryBlocker__FixedStringEncoder [
|
38
|
+
|
39
|
+
]
|
40
|
+
|
41
|
+
BinaryBlocker__Encoder -> BinaryBlocker__BitFieldEncoder [
|
42
|
+
|
43
|
+
]
|
44
|
+
|
45
|
+
BinaryBlocker__SimpleEncoder -> BinaryBlocker__FixedUTF16StringEncoder [
|
46
|
+
|
47
|
+
]
|
48
|
+
|
49
|
+
BinaryBlocker__Encoder -> BinaryBlocker__OneOfEncoder [
|
50
|
+
|
51
|
+
]
|
52
|
+
|
53
|
+
BinaryBlocker__PackedNumberEncoder -> BinaryBlocker__PackedDateTimeEncoder [
|
54
|
+
|
55
|
+
]
|
56
|
+
|
57
|
+
BinaryBlocker__GroupEncoder -> BinaryBlocker__CountedArrayEncoder [
|
58
|
+
|
59
|
+
]
|
60
|
+
|
61
|
+
BinaryBlocker__Encoder -> BinaryBlocker__SimpleEncoder [
|
62
|
+
|
63
|
+
]
|
64
|
+
|
65
|
+
subgraph cluster_BinaryBlocker {
|
66
|
+
fillcolor = palegreen1
|
67
|
+
URL = "classes/BinaryBlocker.html"
|
68
|
+
fontname = Arial
|
69
|
+
color = blue
|
70
|
+
label = "BinaryBlocker"
|
71
|
+
style = filled
|
72
|
+
BinaryBlocker [
|
73
|
+
shape = plaintext,
|
74
|
+
height = 0.01,
|
75
|
+
width = 0.01,
|
76
|
+
label = ""
|
77
|
+
]
|
78
|
+
|
79
|
+
BinaryBlocker__ListOfEncoder [
|
80
|
+
fontcolor = black,
|
81
|
+
URL = "classes/BinaryBlocker/ListOfEncoder.html",
|
82
|
+
shape = ellipse,
|
83
|
+
color = palegoldenrod,
|
84
|
+
style = filled,
|
85
|
+
label = "ListOfEncoder"
|
86
|
+
]
|
87
|
+
|
88
|
+
BinaryBlocker__GroupEncoder [
|
89
|
+
fontcolor = black,
|
90
|
+
URL = "classes/BinaryBlocker/GroupEncoder.html",
|
91
|
+
shape = ellipse,
|
92
|
+
color = palegoldenrod,
|
93
|
+
style = filled,
|
94
|
+
label = "GroupEncoder"
|
95
|
+
]
|
96
|
+
|
97
|
+
BinaryBlocker__Blocker [
|
98
|
+
fontcolor = black,
|
99
|
+
URL = "classes/BinaryBlocker/Blocker.html",
|
100
|
+
shape = ellipse,
|
101
|
+
color = palegoldenrod,
|
102
|
+
style = filled,
|
103
|
+
label = "Blocker"
|
104
|
+
]
|
105
|
+
|
106
|
+
BinaryBlocker__PackedDateEncoder [
|
107
|
+
fontcolor = black,
|
108
|
+
URL = "classes/BinaryBlocker/PackedDateEncoder.html",
|
109
|
+
shape = ellipse,
|
110
|
+
color = palegoldenrod,
|
111
|
+
style = filled,
|
112
|
+
label = "PackedDateEncoder"
|
113
|
+
]
|
114
|
+
|
115
|
+
BinaryBlocker__FixedArrayEncoder [
|
116
|
+
fontcolor = black,
|
117
|
+
URL = "classes/BinaryBlocker/FixedArrayEncoder.html",
|
118
|
+
shape = ellipse,
|
119
|
+
color = palegoldenrod,
|
120
|
+
style = filled,
|
121
|
+
label = "FixedArrayEncoder"
|
122
|
+
]
|
123
|
+
|
124
|
+
BinaryBlocker__PackedNumberEncoder [
|
125
|
+
fontcolor = black,
|
126
|
+
URL = "classes/BinaryBlocker/PackedNumberEncoder.html",
|
127
|
+
shape = ellipse,
|
128
|
+
color = palegoldenrod,
|
129
|
+
style = filled,
|
130
|
+
label = "PackedNumberEncoder"
|
131
|
+
]
|
132
|
+
|
133
|
+
BinaryBlocker__FixedStringEncoder [
|
134
|
+
fontcolor = black,
|
135
|
+
URL = "classes/BinaryBlocker/FixedStringEncoder.html",
|
136
|
+
shape = ellipse,
|
137
|
+
color = palegoldenrod,
|
138
|
+
style = filled,
|
139
|
+
label = "FixedStringEncoder"
|
140
|
+
]
|
141
|
+
|
142
|
+
BinaryBlocker__BitFieldEncoder [
|
143
|
+
fontcolor = black,
|
144
|
+
URL = "classes/BinaryBlocker/BitFieldEncoder.html",
|
145
|
+
shape = ellipse,
|
146
|
+
color = palegoldenrod,
|
147
|
+
style = filled,
|
148
|
+
label = "BitFieldEncoder"
|
149
|
+
]
|
150
|
+
|
151
|
+
BinaryBlocker__FixedUTF16StringEncoder [
|
152
|
+
fontcolor = black,
|
153
|
+
URL = "classes/BinaryBlocker/FixedUTF16StringEncoder.html",
|
154
|
+
shape = ellipse,
|
155
|
+
color = palegoldenrod,
|
156
|
+
style = filled,
|
157
|
+
label = "FixedUTF16StringEncoder"
|
158
|
+
]
|
159
|
+
|
160
|
+
BinaryBlocker__OneOfEncoder [
|
161
|
+
fontcolor = black,
|
162
|
+
URL = "classes/BinaryBlocker/OneOfEncoder.html",
|
163
|
+
shape = ellipse,
|
164
|
+
color = palegoldenrod,
|
165
|
+
style = filled,
|
166
|
+
label = "OneOfEncoder"
|
167
|
+
]
|
168
|
+
|
169
|
+
BinaryBlocker__PackedDateTimeEncoder [
|
170
|
+
fontcolor = black,
|
171
|
+
URL = "classes/BinaryBlocker/PackedDateTimeEncoder.html",
|
172
|
+
shape = ellipse,
|
173
|
+
color = palegoldenrod,
|
174
|
+
style = filled,
|
175
|
+
label = "PackedDateTimeEncoder"
|
176
|
+
]
|
177
|
+
|
178
|
+
BinaryBlocker__CountedArrayEncoder [
|
179
|
+
fontcolor = black,
|
180
|
+
URL = "classes/BinaryBlocker/CountedArrayEncoder.html",
|
181
|
+
shape = ellipse,
|
182
|
+
color = palegoldenrod,
|
183
|
+
style = filled,
|
184
|
+
label = "CountedArrayEncoder"
|
185
|
+
]
|
186
|
+
|
187
|
+
BinaryBlocker__SimpleEncoder [
|
188
|
+
fontcolor = black,
|
189
|
+
URL = "classes/BinaryBlocker/SimpleEncoder.html",
|
190
|
+
shape = ellipse,
|
191
|
+
color = palegoldenrod,
|
192
|
+
style = filled,
|
193
|
+
label = "SimpleEncoder"
|
194
|
+
]
|
195
|
+
|
196
|
+
BinaryBlocker__Encoder [
|
197
|
+
fontcolor = black,
|
198
|
+
URL = "classes/BinaryBlocker/Encoder.html",
|
199
|
+
shape = ellipse,
|
200
|
+
color = palegoldenrod,
|
201
|
+
style = filled,
|
202
|
+
label = "Encoder"
|
203
|
+
]
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
}
|
208
|
+
|
data/doc/dot/m_0_0.png
ADDED
Binary file
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: blocker.rb</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="fileHeader">
|
50
|
+
<h1>blocker.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/blocker.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Tue Aug 08 11:57:12 Eastern Standard Time 2006</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div id="contextContent">
|
70
|
+
<div id="diagram">
|
71
|
+
<map id="map" name="map">
|
72
|
+
<area shape="rect" coords="252,146,351,194" href="../../classes/BinaryBlocker/GroupEncoder.html" alt="GroupEncoder" />
|
73
|
+
<area shape="rect" coords="27,242,123,290" href="../../classes/BinaryBlocker/ListOfEncoder.html" alt="ListOfEncoder" />
|
74
|
+
<area shape="rect" coords="147,242,219,290" href="../../classes/BinaryBlocker/Blocker.html" alt="Blocker" />
|
75
|
+
<area shape="rect" coords="243,242,360,290" href="../../classes/BinaryBlocker/FixedArrayEncoder.html" alt="FixedArrayEncoder" />
|
76
|
+
<area shape="rect" coords="384,242,517,290" href="../../classes/BinaryBlocker/CountedArrayEncoder.html" alt="CountedArrayEncoder" />
|
77
|
+
<area shape="rect" coords="683,50,755,98" href="../../classes/BinaryBlocker/Encoder.html" alt="Encoder" />
|
78
|
+
<area shape="rect" coords="605,146,707,194" href="../../classes/BinaryBlocker/SimpleEncoder.html" alt="SimpleEncoder" />
|
79
|
+
<area shape="rect" coords="731,146,835,194" href="../../classes/BinaryBlocker/BitFieldEncoder.html" alt="BitFieldEncoder" />
|
80
|
+
<area shape="rect" coords="859,146,960,194" href="../../classes/BinaryBlocker/OneOfEncoder.html" alt="OneOfEncoder" />
|
81
|
+
<area shape="rect" coords="541,242,683,290" href="../../classes/BinaryBlocker/PackedNumberEncoder.html" alt="PackedNumberEncoder" />
|
82
|
+
<area shape="rect" coords="469,338,595,386" href="../../classes/BinaryBlocker/PackedDateEncoder.html" alt="PackedDateEncoder" />
|
83
|
+
<area shape="rect" coords="619,338,765,386" href="../../classes/BinaryBlocker/PackedDateTimeEncoder.html" alt="PackedDateTimeEncoder" />
|
84
|
+
<area shape="rect" coords="707,242,827,290" href="../../classes/BinaryBlocker/FixedStringEncoder.html" alt="FixedStringEncoder" />
|
85
|
+
<area shape="rect" coords="851,242,1005,290" href="../../classes/BinaryBlocker/FixedUTF16StringEncoder.html" alt="FixedUTF16StringEncoder" />
|
86
|
+
<area shape="rect" coords="16,16,1016,396" href="../../classes/BinaryBlocker.html" alt="BinaryBlocker" />
|
87
|
+
</map>
|
88
|
+
<img src="../../dot/f_0.png" usemap="#map" border="0" alt="TopLevel" />
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div id="description">
|
92
|
+
<p>
|
93
|
+
The purpose of <a href="../../classes/BinaryBlocker.html">BinaryBlocker</a>
|
94
|
+
is to parse semi-complicated binary files. It can handle all the various
|
95
|
+
data types supported by Array#pack and String#unpack, but the real benefit
|
96
|
+
is with more complicated layouts, that might include files with headers and
|
97
|
+
a variable number of body records followed by a footer. It also supports,
|
98
|
+
packed numeric (<a
|
99
|
+
href="../../classes/BinaryBlocker/PackedNumberEncoder.html">BinaryBlocker::PackedNumberEncoder</a>)
|
100
|
+
and date fields (<a
|
101
|
+
href="../../classes/BinaryBlocker/PackedDateEncoder.html">BinaryBlocker::PackedDateEncoder</a>)
|
102
|
+
</p>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<div id="requires-list">
|
107
|
+
<h3 class="section-bar">Required files</h3>
|
108
|
+
|
109
|
+
<div class="name-list">
|
110
|
+
uconv
|
111
|
+
date
|
112
|
+
time
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</div>
|
117
|
+
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
<!-- if includes -->
|
123
|
+
|
124
|
+
<div id="section">
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<!-- if method_list -->
|
134
|
+
|
135
|
+
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
<div id="validator-badges">
|
140
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
</body>
|
144
|
+
</html>
|