tools/android/elf_compression/elf_headers.py
def FromBytes(cls, byte_order, data, offset):
    """Static wrapper around ParseBytes method.

    Args:
      byte_order: str. Either 'little' for little endian or 'big' for big
        endian.
      data: bytes.
      offset: int. The start point of parsing.
    """
    obj = cls(byte_order)
    obj.ParseBytes(data, offset)
    return obj
Static wrapper around ParseBytes method.

    Args:
      byte_order: str. Either 'little' for little endian or 'big' for big
        endian.
      data: bytes.
      offset: int. The start point of parsing.
    
Static wrapper around ParseBytes method.
Static wrapper around ParseBytes method .
def FromBytes(cls, byte_order, data, offset):
    obj = cls(byte_order)
    obj.ParseBytes(data, offset)
    return obj
def FromBytes ( cls , byte_order , data , offset ) : obj = cls ( byte_order ) obj . ParseBytes ( data , offset ) return obj
Static wrapper around ParseBytes method.
Static wrapper around ParseBytes method .
"""Static wrapper around ParseBytes method.

    Args:
      byte_order: str. Either 'little' for little endian or 'big' for big
        endian.
      data: bytes.
      offset: int. The start point of parsing.
    """
cls
byte_order
str. Either 'little' for little endian or 'big' for big
endian.
str . Either ' little ' for little endian or ' big ' for big endian .
data
None
offset
int. The start point of parsing.
int . The start point of parsing .