pylas.evlr module

class pylas.evlrs.EVLR(user_id, record_id, description='')[source]

Bases: pylas.vlrs.rawvlr.VLR

class pylas.evlrs.EVLRHeader[source]

Bases: _ctypes.Structure

description

Structure/Union member

record_id

Structure/Union member

record_length_after_header

Structure/Union member

user_id

Structure/Union member

class pylas.evlrs.EVLRList[source]

Bases: pylas.vlrs.vlrlist.VLRList

classmethod read_from(data_stream, num_to_read)[source]

Reads vlrs and parse them if possible from the stream

Parameters:
  • data_stream (io.BytesIO) – stream to read from
  • num_to_read (int) – number of vlrs to be read
Returns:

List of vlrs

Return type:

pylas.vlrs.vlrlist.VLRList

class pylas.evlrs.RawEVLR[source]

Bases: object

classmethod read_from(data_stream)[source]
record_data
size_in_bytes()[source]
write_to(out)[source]
class pylas.evlrs.RawEVLRList(iterable=None)[source]

Bases: pylas.vlrs.vlrlist.RawVLRList

classmethod from_list(vlrs)[source]

Construct a RawVLR list from a list of vlrs

Parameters:vlrs (iterable of VLR) –
Returns:
Return type:RawVLRList
pylas.evlrs.evlr_factory(raw)[source]