def compose(bb1, bb2):
    """Construct a value of Compose value type.

    bb1, bb2 -- serialised form of a property value (bytes-like objects)

    (This is only needed if the type of the first value permits colons.)

    """
    return bb1.replace(b':', b'\\:') + b':' + bb2
