Return the *length* bytes comprising the encoded string in *bufr* at *str_offset* in the strings area beginning at *strings_offset*.
(bufr, strings_offset, str_offset, length)
| 340 | |
| 341 | @staticmethod |
| 342 | def _raw_name_string(bufr, strings_offset, str_offset, length): |
| 343 | """ |
| 344 | Return the *length* bytes comprising the encoded string in *bufr* at |
| 345 | *str_offset* in the strings area beginning at *strings_offset*. |
| 346 | """ |
| 347 | offset = strings_offset + str_offset |
| 348 | tmpl = "%ds" % length |
| 349 | return unpack_from(tmpl, bufr, offset)[0] |
| 350 | |
| 351 | def _read_name(self, bufr, idx, strings_offset): |
| 352 | """Return a (platform_id, name_id, name) 3-tuple for name at `idx` in `bufr`. |
no outgoing calls