cocoapods-hmap-prebuilt 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,29 +0,0 @@
1
-
2
- module HMap
3
- # A representation of some unspecified hmap data.
4
- class HMapView
5
- # @return [String] the raw hmap data
6
- attr_reader :raw_data
7
-
8
- # @return [Symbol] the endianness of the data (`:big` or `:little`)
9
- attr_reader :endianness
10
-
11
- # @return [Integer] the offset of the relevant data (in {#raw_data})
12
- attr_reader :offset
13
-
14
- # Creates a new HMapView.
15
- def initialize(raw_data, endianness, offset)
16
- @raw_data = raw_data
17
- @endianness = endianness
18
- @offset = offset
19
- end
20
-
21
- # @return [Hash] a hash representation of this {HMapView}.
22
- def to_h
23
- {
24
- 'endianness' => endianness,
25
- 'offset' => offset
26
- }
27
- end
28
- end
29
- end