1 | <?php |
||
22 | class Types |
||
23 | { |
||
24 | /** |
||
25 | * @return CachingTypeFactory |
||
26 | */ |
||
27 | public static function factory() |
||
36 | |||
37 | /** |
||
38 | * @param int $length |
||
39 | * @return ByteString |
||
40 | */ |
||
41 | public static function bytestring($length) |
||
45 | |||
46 | /** |
||
47 | * @param int $length |
||
48 | * @return ByteString |
||
49 | */ |
||
50 | public static function bytestringle($length) |
||
54 | |||
55 | /** |
||
56 | * @return Uint8 |
||
57 | */ |
||
58 | public static function uint8() |
||
62 | |||
63 | /** |
||
64 | * @return Uint8 |
||
65 | */ |
||
66 | public static function uint8le() |
||
70 | |||
71 | /** |
||
72 | * @return Uint16 |
||
73 | */ |
||
74 | public static function uint16() |
||
78 | |||
79 | /** |
||
80 | * @return Uint16 |
||
81 | */ |
||
82 | public static function uint16le() |
||
86 | |||
87 | /** |
||
88 | * @return Uint32 |
||
89 | */ |
||
90 | public static function uint32() |
||
94 | |||
95 | /** |
||
96 | * @return Uint32 |
||
97 | */ |
||
98 | public static function uint32le() |
||
102 | |||
103 | /** |
||
104 | * @return Uint64 |
||
105 | */ |
||
106 | public static function uint64() |
||
110 | |||
111 | /** |
||
112 | * @return Uint64 |
||
113 | */ |
||
114 | public static function uint64le() |
||
118 | |||
119 | /** |
||
120 | * @return Uint128 |
||
121 | */ |
||
122 | public static function uint128() |
||
126 | |||
127 | /** |
||
128 | * @return Uint128 |
||
129 | */ |
||
130 | public static function uint128le() |
||
134 | |||
135 | /** |
||
136 | * @return Uint256 |
||
137 | */ |
||
138 | public static function uint256() |
||
142 | |||
143 | /** |
||
144 | * @return Uint256 |
||
145 | */ |
||
146 | public static function uint256le() |
||
150 | |||
151 | /** |
||
152 | * @return Int8 |
||
153 | */ |
||
154 | public static function int8() |
||
158 | |||
159 | /** |
||
160 | * @return Int8 |
||
161 | */ |
||
162 | public static function int8le() |
||
166 | |||
167 | /** |
||
168 | * @return Int16 |
||
169 | */ |
||
170 | public static function int16() |
||
174 | |||
175 | /** |
||
176 | * @return Int16 |
||
177 | */ |
||
178 | public static function int16le() |
||
182 | |||
183 | /** |
||
184 | * @return Int32 |
||
185 | */ |
||
186 | public static function int32() |
||
190 | |||
191 | /** |
||
192 | * @return Int32 |
||
193 | */ |
||
194 | public static function int32le() |
||
198 | |||
199 | /** |
||
200 | * @return Int64 |
||
201 | */ |
||
202 | public static function int64() |
||
206 | |||
207 | /** |
||
208 | * @return Int64 |
||
209 | */ |
||
210 | public static function int64le() |
||
214 | |||
215 | /** |
||
216 | * @return Int128 |
||
217 | */ |
||
218 | public static function int128() |
||
222 | |||
223 | /** |
||
224 | * @return Int128 |
||
225 | */ |
||
226 | public static function int128le() |
||
230 | |||
231 | /** |
||
232 | * @return Int256 |
||
233 | */ |
||
234 | public static function int256() |
||
238 | |||
239 | /** |
||
240 | * @return Int256 |
||
241 | */ |
||
242 | public static function int256le() |
||
246 | |||
247 | /** |
||
248 | * @return VarInt |
||
249 | */ |
||
250 | public static function varint() |
||
254 | |||
255 | /** |
||
256 | * @return VarString |
||
257 | */ |
||
258 | public static function varstring() |
||
262 | |||
263 | /** |
||
264 | * @param callable $reader |
||
265 | * @return \BitWasp\Buffertools\Types\Vector |
||
266 | */ |
||
267 | public static function vector(callable $reader) |
||
271 | } |
||
272 |