def _get_schema(buffer) ->str:
    """
    Extract the schema code embedded in the buffer

    :param buffer: The raw buffer of the FlatBuffers message.
    :return: The schema identifier
    """
    return buffer[4:8].decode('utf-8')
