def METHOD_NAME(bytes: bytes, minValue: int = 0) -> bytes:
    """
    Pack a PER octet stream
    :param bytes: octet stream
    :param minValue: minimum string length
    """
    length = len(bytes)
    mlength = minValue
    if length >= minValue:
        mlength = length - minValue
    return writeLength(mlength) + bytes