facets 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +28 -45
- data/MANIFEST +35 -4
- data/README +3 -14
- data/RELEASE +36 -70
- data/VERSION +1 -1
- data/doc/archive/RELEASE-2.5.0 +83 -0
- data/doc/log/basic_stats/index.html +4 -4
- data/doc/log/changelog.html +509 -2
- data/doc/log/changelog.txt +130 -1522
- data/doc/rdoc/core/classes/Array.html +366 -141
- data/doc/rdoc/core/classes/Binding.html +45 -45
- data/doc/rdoc/core/classes/Class.html +38 -38
- data/doc/rdoc/core/classes/Comparable.html +26 -26
- data/doc/rdoc/core/classes/Enumerable.html +174 -170
- data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
- data/doc/rdoc/core/classes/Enumerator.html +132 -0
- data/doc/rdoc/core/classes/Exception.html +8 -8
- data/doc/rdoc/core/classes/File.html +58 -58
- data/doc/rdoc/core/classes/FileTest.html +4 -4
- data/doc/rdoc/core/classes/Float.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +447 -263
- data/doc/rdoc/core/classes/Indexable.html +110 -110
- data/doc/rdoc/core/classes/Integer.html +2 -2
- data/doc/rdoc/core/classes/Kernel.html +329 -329
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +15 -15
- data/doc/rdoc/core/classes/Module.html +176 -157
- data/doc/rdoc/core/classes/NilClass.html +23 -23
- data/doc/rdoc/core/classes/Numeric.html +27 -27
- data/doc/rdoc/core/classes/Object.html +8 -8
- data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
- data/doc/rdoc/core/classes/Proc.html +22 -22
- data/doc/rdoc/core/classes/Regexp.html +1 -1
- data/doc/rdoc/core/classes/Stackable.html +31 -31
- data/doc/rdoc/core/classes/String.html +332 -291
- data/doc/rdoc/core/classes/Symbol.html +1 -1
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +7 -29
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
- data/doc/rdoc/core/fr_class_index.html +2 -0
- data/doc/rdoc/core/fr_file_index.html +6 -0
- data/doc/rdoc/core/fr_method_index.html +386 -373
- data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +7 -29
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +67 -53
- data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
- data/doc/rdoc/more/classes/BBCode.html +36 -36
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +8 -8
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +52 -45
- data/doc/rdoc/more/classes/Enumerable.html +50 -50
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/Hook.html +162 -0
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantize.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Matcher.html +38 -38
- data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Memoizer.html +21 -21
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenStructable.html +36 -36
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +16 -16
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +5 -5
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Stash.html +28 -28
- data/doc/rdoc/more/classes/String/Mask.html +72 -72
- data/doc/rdoc/more/classes/String/Words.html +31 -31
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/X.html +117 -0
- data/doc/rdoc/more/classes/XOXO.html +11 -11
- data/doc/rdoc/more/classes/ZipUtils.html +88 -88
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +7 -29
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
- data/doc/rdoc/more/fr_class_index.html +2 -0
- data/doc/rdoc/more/fr_file_index.html +1 -0
- data/doc/rdoc/more/fr_method_index.html +686 -681
- data/lib/core/facets/array/product.rb +6 -23
- data/lib/core/facets/enumerable/collect.rb +3 -53
- data/lib/core/facets/enumerable/compact_map.rb +35 -0
- data/lib/core/facets/enumerable/map_with_index.rb +23 -0
- data/lib/core/facets/enumerable/split.rb +3 -3
- data/lib/core/facets/hash/collate.rb +45 -14
- data/lib/core/facets/hash/group_by_value.rb +65 -0
- data/lib/core/facets/hash/new_with.rb +15 -0
- data/lib/core/facets/module/extend.rb +11 -0
- data/lib/core/facets/string/align.rb +19 -18
- data/lib/core/facets/string/file.rb +17 -0
- data/lib/core/facets/string/xor.rb +9 -3
- data/lib/core/facets/to_hash.rb +274 -17
- data/lib/core/facets/unboundmethod/name.rb +4 -2
- data/lib/lore/facets/ostruct.rb +3 -0
- data/lib/more/facets/association.rb +28 -12
- data/lib/more/facets/dictionary.rb +10 -4
- data/lib/more/facets/hook.rb +65 -0
- data/lib/more/facets/paramix.rb +5 -5
- data/meta/abstract +13 -0
- data/meta/authors +1 -0
- data/meta/contact +1 -0
- data/meta/contributors +48 -0
- data/meta/created +1 -0
- data/meta/homepage +1 -0
- data/meta/license +1 -0
- data/meta/loadpath +3 -0
- data/meta/releases +14 -0
- data/meta/slogan +1 -0
- data/meta/summary +1 -0
- data/task/test.rake +116 -18
- data/test/core/array/test_product.rb +0 -6
- data/test/core/binding/test_local_variables.rb +9 -3
- data/test/core/enumerable/test_split.rb +19 -0
- data/test/core/module/test_conflict.rb +8 -3
- data/test/core/test_to_hash.rb +152 -0
- data/test/core/unboundmethod/test_arguments.rb +1 -1
- data/test/core/unboundmethod/test_name.rb +2 -2
- metadata +39 -8
- data/doc/log/bstats/stats.html +0 -39
- data/doc/log/stats.html +0 -25
- data/test/more/test_to_hash.rb +0 -58
@@ -79,27 +79,27 @@ class/module where you mix in this module.
|
|
79
79
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
|
-
<span style="padding-right: 5px;"><a href="#
|
83
|
-
<span style="padding-right: 5px;"><a href="#
|
84
|
-
<span style="padding-right: 5px;"><a href="#
|
85
|
-
<span style="padding-right: 5px;"><a href="#
|
86
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
89
|
-
<span style="padding-right: 5px;"><a href="#
|
90
|
-
<span style="padding-right: 5px;"><a href="#
|
91
|
-
<span style="padding-right: 5px;"><a href="#
|
92
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
95
|
-
<span style="padding-right: 5px;"><a href="#
|
96
|
-
<span style="padding-right: 5px;"><a href="#
|
97
|
-
<span style="padding-right: 5px;"><a href="#
|
98
|
-
<span style="padding-right: 5px;"><a href="#
|
99
|
-
<span style="padding-right: 5px;"><a href="#
|
100
|
-
<span style="padding-right: 5px;"><a href="#
|
101
|
-
<span style="padding-right: 5px;"><a href="#
|
102
|
-
<span style="padding-right: 5px;"><a href="#
|
82
|
+
<span style="padding-right: 5px;"><a href="#M000762">byte_order</a></span>
|
83
|
+
<span style="padding-right: 5px;"><a href="#M000763">byte_order=</a></span>
|
84
|
+
<span style="padding-right: 5px;"><a href="#M000764">byteorder</a></span>
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000765">byteorder=</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000781">read_cstring</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000773">read_int16_big</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000772">read_int16_little</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000771">read_int16_native</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000779">read_int32_big</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000778">read_int32_little</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000777">read_int32_native</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000767">read_int8</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000780">read_uint8</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000770">read_word16_big</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000769">read_word16_little</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000768">read_word16_native</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M000776">read_word32_big</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000775">read_word32_little</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M000774">read_word32_native</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M000766">read_word8</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M000782">readn</a></span>
|
103
103
|
|
104
104
|
|
105
105
|
|
@@ -112,7 +112,7 @@ class/module where you mix in this module.
|
|
112
112
|
<div class="sectiontitle">Public Instance methods</div>
|
113
113
|
<div class="method">
|
114
114
|
<div class="title">
|
115
|
-
<a name="
|
115
|
+
<a name="M000762"></a><b>byte_order</b>()
|
116
116
|
</div>
|
117
117
|
<div class="description">
|
118
118
|
<p>
|
@@ -121,11 +121,11 @@ default is native byte-order
|
|
121
121
|
</div>
|
122
122
|
<div class="aka">
|
123
123
|
This method is also aliased as
|
124
|
-
<a href="BinReadable.html#
|
124
|
+
<a href="BinReadable.html#M000764">byteorder</a>
|
125
125
|
</div>
|
126
126
|
<div class="sourcecode">
|
127
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
128
|
-
<div id="
|
127
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000762_source')" id="l_M000762_source">+</a> ]</p>
|
128
|
+
<div id="M000762_source" class="dyn-source">
|
129
129
|
<pre>
|
130
130
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 74</span>
|
131
131
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_order</span>
|
@@ -137,15 +137,15 @@ default is native byte-order
|
|
137
137
|
</div>
|
138
138
|
<div class="method">
|
139
139
|
<div class="title">
|
140
|
-
<a name="
|
140
|
+
<a name="M000763"></a><b>byte_order=</b>(new_byteorder)
|
141
141
|
</div>
|
142
142
|
<div class="aka">
|
143
143
|
This method is also aliased as
|
144
|
-
<a href="BinReadable.html#
|
144
|
+
<a href="BinReadable.html#M000765">byteorder=</a>
|
145
145
|
</div>
|
146
146
|
<div class="sourcecode">
|
147
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
148
|
-
<div id="
|
147
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000763_source')" id="l_M000763_source">+</a> ]</p>
|
148
|
+
<div id="M000763_source" class="dyn-source">
|
149
149
|
<pre>
|
150
150
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 78</span>
|
151
151
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_order=</span>(<span class="ruby-identifier">new_byteorder</span>)
|
@@ -157,31 +157,31 @@ default is native byte-order
|
|
157
157
|
</div>
|
158
158
|
<div class="method">
|
159
159
|
<div class="title">
|
160
|
-
<a name="
|
160
|
+
<a name="M000764"></a><b>byteorder</b>()
|
161
161
|
</div>
|
162
162
|
<div class="description">
|
163
163
|
<p>
|
164
|
-
Alias for <a href="BinReadable.html#
|
164
|
+
Alias for <a href="BinReadable.html#M000762">byte_order</a>
|
165
165
|
</p>
|
166
166
|
</div>
|
167
167
|
</div>
|
168
168
|
<div class="method">
|
169
169
|
<div class="title">
|
170
|
-
<a name="
|
170
|
+
<a name="M000765"></a><b>byteorder=</b>(new_byteorder)
|
171
171
|
</div>
|
172
172
|
<div class="description">
|
173
173
|
<p>
|
174
|
-
Alias for <a href="BinReadable.html#
|
174
|
+
Alias for <a href="BinReadable.html#M000762">byte_order</a>=
|
175
175
|
</p>
|
176
176
|
</div>
|
177
177
|
</div>
|
178
178
|
<div class="method">
|
179
179
|
<div class="title">
|
180
|
-
<a name="
|
180
|
+
<a name="M000781"></a><b>read_cstring</b>()
|
181
181
|
</div>
|
182
182
|
<div class="sourcecode">
|
183
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
184
|
-
<div id="
|
183
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000781_source')" id="l_M000781_source">+</a> ]</p>
|
184
|
+
<div id="M000781_source" class="dyn-source">
|
185
185
|
<pre>
|
186
186
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 188</span>
|
187
187
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_cstring</span>
|
@@ -197,11 +197,11 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
197
197
|
</div>
|
198
198
|
<div class="method">
|
199
199
|
<div class="title">
|
200
|
-
<a name="
|
200
|
+
<a name="M000773"></a><b>read_int16_big</b>()
|
201
201
|
</div>
|
202
202
|
<div class="sourcecode">
|
203
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
204
|
-
<div id="
|
203
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000773_source')" id="l_M000773_source">+</a> ]</p>
|
204
|
+
<div id="M000773_source" class="dyn-source">
|
205
205
|
<pre>
|
206
206
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 124</span>
|
207
207
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int16_big</span>
|
@@ -214,11 +214,11 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
214
214
|
</div>
|
215
215
|
<div class="method">
|
216
216
|
<div class="title">
|
217
|
-
<a name="
|
217
|
+
<a name="M000772"></a><b>read_int16_little</b>()
|
218
218
|
</div>
|
219
219
|
<div class="sourcecode">
|
220
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
221
|
-
<div id="
|
220
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000772_source')" id="l_M000772_source">+</a> ]</p>
|
221
|
+
<div id="M000772_source" class="dyn-source">
|
222
222
|
<pre>
|
223
223
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 119</span>
|
224
224
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int16_little</span>
|
@@ -231,14 +231,14 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
231
231
|
</div>
|
232
232
|
<div class="method">
|
233
233
|
<div class="title">
|
234
|
-
<a name="
|
234
|
+
<a name="M000771"></a><b>read_int16_native</b>()
|
235
235
|
</div>
|
236
236
|
<div class="description">
|
237
237
|
<h3>Signed</h3>
|
238
238
|
</div>
|
239
239
|
<div class="sourcecode">
|
240
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
241
|
-
<div id="
|
240
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000771_source')" id="l_M000771_source">+</a> ]</p>
|
241
|
+
<div id="M000771_source" class="dyn-source">
|
242
242
|
<pre>
|
243
243
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 115</span>
|
244
244
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int16_native</span>
|
@@ -250,11 +250,11 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
250
250
|
</div>
|
251
251
|
<div class="method">
|
252
252
|
<div class="title">
|
253
|
-
<a name="
|
253
|
+
<a name="M000779"></a><b>read_int32_big</b>()
|
254
254
|
</div>
|
255
255
|
<div class="sourcecode">
|
256
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
257
|
-
<div id="
|
256
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000779_source')" id="l_M000779_source">+</a> ]</p>
|
257
|
+
<div id="M000779_source" class="dyn-source">
|
258
258
|
<pre>
|
259
259
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 156</span>
|
260
260
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int32_big</span>
|
@@ -267,11 +267,11 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
267
267
|
</div>
|
268
268
|
<div class="method">
|
269
269
|
<div class="title">
|
270
|
-
<a name="
|
270
|
+
<a name="M000778"></a><b>read_int32_little</b>()
|
271
271
|
</div>
|
272
272
|
<div class="sourcecode">
|
273
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
274
|
-
<div id="
|
273
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000778_source')" id="l_M000778_source">+</a> ]</p>
|
274
|
+
<div id="M000778_source" class="dyn-source">
|
275
275
|
<pre>
|
276
276
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 151</span>
|
277
277
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int32_little</span>
|
@@ -284,14 +284,14 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
284
284
|
</div>
|
285
285
|
<div class="method">
|
286
286
|
<div class="title">
|
287
|
-
<a name="
|
287
|
+
<a name="M000777"></a><b>read_int32_native</b>()
|
288
288
|
</div>
|
289
289
|
<div class="description">
|
290
290
|
<h3>Signed</h3>
|
291
291
|
</div>
|
292
292
|
<div class="sourcecode">
|
293
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
294
|
-
<div id="
|
293
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000777_source')" id="l_M000777_source">+</a> ]</p>
|
294
|
+
<div id="M000777_source" class="dyn-source">
|
295
295
|
<pre>
|
296
296
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 147</span>
|
297
297
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int32_native</span>
|
@@ -303,11 +303,11 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
303
303
|
</div>
|
304
304
|
<div class="method">
|
305
305
|
<div class="title">
|
306
|
-
<a name="
|
306
|
+
<a name="M000767"></a><b>read_int8</b>()
|
307
307
|
</div>
|
308
308
|
<div class="sourcecode">
|
309
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
310
|
-
<div id="
|
309
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000767_source')" id="l_M000767_source">+</a> ]</p>
|
310
|
+
<div id="M000767_source" class="dyn-source">
|
311
311
|
<pre>
|
312
312
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 93</span>
|
313
313
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int8</span>
|
@@ -319,21 +319,21 @@ Alias for <a href="BinReadable.html#M000760">byte_order</a>=
|
|
319
319
|
</div>
|
320
320
|
<div class="method">
|
321
321
|
<div class="title">
|
322
|
-
<a name="
|
322
|
+
<a name="M000780"></a><b>read_uint8</b>()
|
323
323
|
</div>
|
324
324
|
<div class="description">
|
325
325
|
<p>
|
326
|
-
Alias for <a href="BinReadable.html#
|
326
|
+
Alias for <a href="BinReadable.html#M000766">read_word8</a>
|
327
327
|
</p>
|
328
328
|
</div>
|
329
329
|
</div>
|
330
330
|
<div class="method">
|
331
331
|
<div class="title">
|
332
|
-
<a name="
|
332
|
+
<a name="M000770"></a><b>read_word16_big</b>()
|
333
333
|
</div>
|
334
334
|
<div class="sourcecode">
|
335
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
336
|
-
<div id="
|
335
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000770_source')" id="l_M000770_source">+</a> ]</p>
|
336
|
+
<div id="M000770_source" class="dyn-source">
|
337
337
|
<pre>
|
338
338
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 109</span>
|
339
339
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word16_big</span>
|
@@ -345,11 +345,11 @@ Alias for <a href="BinReadable.html#M000764">read_word8</a>
|
|
345
345
|
</div>
|
346
346
|
<div class="method">
|
347
347
|
<div class="title">
|
348
|
-
<a name="
|
348
|
+
<a name="M000769"></a><b>read_word16_little</b>()
|
349
349
|
</div>
|
350
350
|
<div class="sourcecode">
|
351
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
352
|
-
<div id="
|
351
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000769_source')" id="l_M000769_source">+</a> ]</p>
|
352
|
+
<div id="M000769_source" class="dyn-source">
|
353
353
|
<pre>
|
354
354
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 105</span>
|
355
355
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word16_little</span>
|
@@ -361,14 +361,14 @@ Alias for <a href="BinReadable.html#M000764">read_word8</a>
|
|
361
361
|
</div>
|
362
362
|
<div class="method">
|
363
363
|
<div class="title">
|
364
|
-
<a name="
|
364
|
+
<a name="M000768"></a><b>read_word16_native</b>()
|
365
365
|
</div>
|
366
366
|
<div class="description">
|
367
367
|
<h3>Unsigned</h3>
|
368
368
|
</div>
|
369
369
|
<div class="sourcecode">
|
370
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
371
|
-
<div id="
|
370
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000768_source')" id="l_M000768_source">+</a> ]</p>
|
371
|
+
<div id="M000768_source" class="dyn-source">
|
372
372
|
<pre>
|
373
373
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 101</span>
|
374
374
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word16_native</span>
|
@@ -380,11 +380,11 @@ Alias for <a href="BinReadable.html#M000764">read_word8</a>
|
|
380
380
|
</div>
|
381
381
|
<div class="method">
|
382
382
|
<div class="title">
|
383
|
-
<a name="
|
383
|
+
<a name="M000776"></a><b>read_word32_big</b>()
|
384
384
|
</div>
|
385
385
|
<div class="sourcecode">
|
386
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
387
|
-
<div id="
|
386
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000776_source')" id="l_M000776_source">+</a> ]</p>
|
387
|
+
<div id="M000776_source" class="dyn-source">
|
388
388
|
<pre>
|
389
389
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 141</span>
|
390
390
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word32_big</span>
|
@@ -396,11 +396,11 @@ Alias for <a href="BinReadable.html#M000764">read_word8</a>
|
|
396
396
|
</div>
|
397
397
|
<div class="method">
|
398
398
|
<div class="title">
|
399
|
-
<a name="
|
399
|
+
<a name="M000775"></a><b>read_word32_little</b>()
|
400
400
|
</div>
|
401
401
|
<div class="sourcecode">
|
402
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
403
|
-
<div id="
|
402
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000775_source')" id="l_M000775_source">+</a> ]</p>
|
403
|
+
<div id="M000775_source" class="dyn-source">
|
404
404
|
<pre>
|
405
405
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 137</span>
|
406
406
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word32_little</span>
|
@@ -412,14 +412,14 @@ Alias for <a href="BinReadable.html#M000764">read_word8</a>
|
|
412
412
|
</div>
|
413
413
|
<div class="method">
|
414
414
|
<div class="title">
|
415
|
-
<a name="
|
415
|
+
<a name="M000774"></a><b>read_word32_native</b>()
|
416
416
|
</div>
|
417
417
|
<div class="description">
|
418
418
|
<h3>Unsigned</h3>
|
419
419
|
</div>
|
420
420
|
<div class="sourcecode">
|
421
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
422
|
-
<div id="
|
421
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000774_source')" id="l_M000774_source">+</a> ]</p>
|
422
|
+
<div id="M000774_source" class="dyn-source">
|
423
423
|
<pre>
|
424
424
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 133</span>
|
425
425
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word32_native</span>
|
@@ -431,20 +431,20 @@ Alias for <a href="BinReadable.html#M000764">read_word8</a>
|
|
431
431
|
</div>
|
432
432
|
<div class="method">
|
433
433
|
<div class="title">
|
434
|
-
<a name="
|
434
|
+
<a name="M000766"></a><b>read_word8</b>()
|
435
435
|
</div>
|
436
436
|
<div class="description">
|
437
437
|
<p>
|
438
|
-
no <a href="BinReadable.html#
|
438
|
+
no <a href="BinReadable.html#M000764">byteorder</a> for 8 bit!
|
439
439
|
</p>
|
440
440
|
</div>
|
441
441
|
<div class="aka">
|
442
442
|
This method is also aliased as
|
443
|
-
<a href="BinReadable.html#
|
443
|
+
<a href="BinReadable.html#M000780">read_uint8</a>
|
444
444
|
</div>
|
445
445
|
<div class="sourcecode">
|
446
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
447
|
-
<div id="
|
446
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000766_source')" id="l_M000766_source">+</a> ]</p>
|
447
|
+
<div id="M000766_source" class="dyn-source">
|
448
448
|
<pre>
|
449
449
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 89</span>
|
450
450
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word8</span>
|
@@ -456,7 +456,7 @@ no <a href="BinReadable.html#M000762">byteorder</a> for 8 bit!
|
|
456
456
|
</div>
|
457
457
|
<div class="method">
|
458
458
|
<div class="title">
|
459
|
-
<a name="
|
459
|
+
<a name="M000782"></a><b>readn</b>(n)
|
460
460
|
</div>
|
461
461
|
<div class="description">
|
462
462
|
<p>
|
@@ -464,8 +464,8 @@ read exactly n characters, otherwise raise an exception.
|
|
464
464
|
</p>
|
465
465
|
</div>
|
466
466
|
<div class="sourcecode">
|
467
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
468
|
-
<div id="
|
467
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000782_source')" id="l_M000782_source">+</a> ]</p>
|
468
|
+
<div id="M000782_source" class="dyn-source">
|
469
469
|
<pre>
|
470
470
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 197</span>
|
471
471
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">readn</span>(<span class="ruby-identifier">n</span>)
|
@@ -73,13 +73,13 @@
|
|
73
73
|
|
74
74
|
|
75
75
|
<div class="sectiontitle">Methods</div>
|
76
|
-
<span style="padding-right: 5px;"><a href="#
|
77
|
-
<span style="padding-right: 5px;"><a href="#
|
78
|
-
<span style="padding-right: 5px;"><a href="#
|
79
|
-
<span style="padding-right: 5px;"><a href="#
|
80
|
-
<span style="padding-right: 5px;"><a href="#
|
81
|
-
<span style="padding-right: 5px;"><a href="#
|
82
|
-
<span style="padding-right: 5px;"><a href="#
|
76
|
+
<span style="padding-right: 5px;"><a href="#M000788">big?</a></span>
|
77
|
+
<span style="padding-right: 5px;"><a href="#M000786">big_endian?</a></span>
|
78
|
+
<span style="padding-right: 5px;"><a href="#M000783">byte_order</a></span>
|
79
|
+
<span style="padding-right: 5px;"><a href="#M000784">byteorder</a></span>
|
80
|
+
<span style="padding-right: 5px;"><a href="#M000787">little?</a></span>
|
81
|
+
<span style="padding-right: 5px;"><a href="#M000785">little_endian?</a></span>
|
82
|
+
<span style="padding-right: 5px;"><a href="#M000789">network?</a></span>
|
83
83
|
|
84
84
|
|
85
85
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
<div class="sectiontitle">Public Instance methods</div>
|
108
108
|
<div class="method">
|
109
109
|
<div class="title">
|
110
|
-
<a name="
|
110
|
+
<a name="M000788"></a><b>big?</b>()
|
111
111
|
</div>
|
112
112
|
<div class="description">
|
113
113
|
<p>
|
@@ -117,16 +117,16 @@ Alias for big_endian?
|
|
117
117
|
</div>
|
118
118
|
<div class="method">
|
119
119
|
<div class="title">
|
120
|
-
<a name="
|
120
|
+
<a name="M000786"></a><b>big_endian?</b>()
|
121
121
|
</div>
|
122
122
|
<div class="aka">
|
123
123
|
This method is also aliased as
|
124
|
-
<a href="ByteOrder.html#
|
125
|
-
<a href="ByteOrder.html#
|
124
|
+
<a href="ByteOrder.html#M000788">big?</a>
|
125
|
+
<a href="ByteOrder.html#M000789">network?</a>
|
126
126
|
</div>
|
127
127
|
<div class="sourcecode">
|
128
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
129
|
-
<div id="
|
128
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000786_source')" id="l_M000786_source">+</a> ]</p>
|
129
|
+
<div id="M000786_source" class="dyn-source">
|
130
130
|
<pre>
|
131
131
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 59</span>
|
132
132
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">big_endian?</span>
|
@@ -138,7 +138,7 @@ Alias for big_endian?
|
|
138
138
|
</div>
|
139
139
|
<div class="method">
|
140
140
|
<div class="title">
|
141
|
-
<a name="
|
141
|
+
<a name="M000783"></a><b>byte_order</b>()
|
142
142
|
</div>
|
143
143
|
<div class="description">
|
144
144
|
<p>
|
@@ -147,11 +147,11 @@ examines the byte order of the underlying machine
|
|
147
147
|
</div>
|
148
148
|
<div class="aka">
|
149
149
|
This method is also aliased as
|
150
|
-
<a href="ByteOrder.html#
|
150
|
+
<a href="ByteOrder.html#M000784">byteorder</a>
|
151
151
|
</div>
|
152
152
|
<div class="sourcecode">
|
153
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
154
|
-
<div id="
|
153
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000783_source')" id="l_M000783_source">+</a> ]</p>
|
154
|
+
<div id="M000783_source" class="dyn-source">
|
155
155
|
<pre>
|
156
156
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 45</span>
|
157
157
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_order</span>
|
@@ -167,17 +167,17 @@ examines the byte order of the underlying machine
|
|
167
167
|
</div>
|
168
168
|
<div class="method">
|
169
169
|
<div class="title">
|
170
|
-
<a name="
|
170
|
+
<a name="M000784"></a><b>byteorder</b>()
|
171
171
|
</div>
|
172
172
|
<div class="description">
|
173
173
|
<p>
|
174
|
-
Alias for <a href="ByteOrder.html#
|
174
|
+
Alias for <a href="ByteOrder.html#M000783">byte_order</a>
|
175
175
|
</p>
|
176
176
|
</div>
|
177
177
|
</div>
|
178
178
|
<div class="method">
|
179
179
|
<div class="title">
|
180
|
-
<a name="
|
180
|
+
<a name="M000787"></a><b>little?</b>()
|
181
181
|
</div>
|
182
182
|
<div class="description">
|
183
183
|
<p>
|
@@ -187,15 +187,15 @@ Alias for little_endian?
|
|
187
187
|
</div>
|
188
188
|
<div class="method">
|
189
189
|
<div class="title">
|
190
|
-
<a name="
|
190
|
+
<a name="M000785"></a><b>little_endian?</b>()
|
191
191
|
</div>
|
192
192
|
<div class="aka">
|
193
193
|
This method is also aliased as
|
194
|
-
<a href="ByteOrder.html#
|
194
|
+
<a href="ByteOrder.html#M000787">little?</a>
|
195
195
|
</div>
|
196
196
|
<div class="sourcecode">
|
197
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
198
|
-
<div id="
|
197
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000785_source')" id="l_M000785_source">+</a> ]</p>
|
198
|
+
<div id="M000785_source" class="dyn-source">
|
199
199
|
<pre>
|
200
200
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 55</span>
|
201
201
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">little_endian?</span>
|
@@ -207,7 +207,7 @@ Alias for little_endian?
|
|
207
207
|
</div>
|
208
208
|
<div class="method">
|
209
209
|
<div class="title">
|
210
|
-
<a name="
|
210
|
+
<a name="M000789"></a><b>network?</b>()
|
211
211
|
</div>
|
212
212
|
<div class="description">
|
213
213
|
<p>
|