tools/android/elf_compression/elf_headers.py
def ParseBytes(self, data, offset):
    """Parses Entry fields from data starting at offset using _fields.

    Args:
        data: bytes.
        offset: int. The start point of parsing.
    """
    current_offset = offset
    for field_name, field_size in self._fields:
      value = int.from_bytes(
          data[current_offset:current_offset + field_size],
          byteorder=self.byte_order)
      setattr(self, field_name, value)
      current_offset += field_size
Parses Entry fields from data starting at offset using _fields.

    Args:
        data: bytes.
        offset: int. The start point of parsing.
    
Parses Entry fields from data starting at offset using _fields.
Parses Entry fields from data starting at offset using _fields .
def ParseBytes(self, data, offset):
    current_offset = offset
    for field_name, field_size in self._fields:
      value = int.from_bytes(
          data[current_offset:current_offset + field_size],
          byteorder=self.byte_order)
      setattr(self, field_name, value)
      current_offset += field_size
def ParseBytes ( self , data , offset ) : current_offset = offset for field_name , field_size in self . _fields : value = int . from_bytes ( data [ current_offset : current_offset + field_size ] , byteorder = self . byte_order ) setattr ( self , field_name , value ) current_offset += field_size
Parses Entry fields from data starting at offset using _fields.
Parses Entry fields from data starting at offset using _fields .
"""Parses Entry fields from data starting at offset using _fields.

    Args:
        data: bytes.
        offset: int. The start point of parsing.
    """
self
data
None
offset
int. The start point of parsing.
int . The start point of parsing .