def METHOD_NAME(s: bytes) -> bytes:
    """
    Serialize a byte string with Bitcoin's variable length string serialization.
    :param s: The byte string to be serialized
    :returns: The serialized byte string
    """
    return ser_compact_size(len(s)) + s