Bytes# class Bytes(**kwargs)# Constructors: new(data:list=None) -> GLib.Bytes new_take(data:list=None) -> GLib.Bytes Constructors# class Bytes classmethod new(data: Sequence[int] | None = None) → Bytes# Parameters: data classmethod new_take(data: Sequence[int] | None = None) → Bytes# Parameters: data Methods# class Bytes compare(bytes2: Bytes) → int# Parameters: bytes2 equal(bytes2: Bytes) → bool# Parameters: bytes2 get_data() → bytes | None# get_region(element_size: int, offset: int, n_elements: int) → None# Parameters: element_size offset n_elements get_size() → int# hash() → int# new_from_bytes(offset: int, length: int) → Bytes# Parameters: offset length