import struct


def UnpackAttributeRecordRemainingHeaderResident(Buffer):
    """Unpack the remaining 8 bytes of the attribute record header, return a tuple: (value_length, value_offset, resident_flags, reserved).
    Note: this is for resident attributes only.
    """

    return struct.unpack('<LHBB', Buffer)